We have created our own custom Guidance Package using Guidance Automation Toolkit 2008. The package installs successfully in most of the machines but in only 2 machines we face the "Access Denied Error" during installation which will eventually rollback the installation.
Below is the information from the log file of the GAX which gets generated in the %temp% folder for your reference. Please help.
MsiExec.exe Information: 0 : Starting Install phase...
MsiExec.exe Information: 0 : CheckForValidHive...
MsiExec.exe Information: 0 : CheckForValidHive...
MsiExec.exe Information: 0 : Checking DevEnv is not running...
MsiExec.exe Information: 0 : Starting InstallPackage C:\Program Files\Intel\TMG UI Framework\UI Framework 1.1\GuidanceAutomation.xml ...
MsiExec.exe Information: 0 : Initializing Recipe Framework Installer...
MsiExec.exe Information: 0 : Starting RegisterPackage... - register: True
MsiExec.exe Information: 0 : Base path to use: 'C:\Program Files\Intel\TMG UI Framework\UI Framework 1.1'
MsiExec.exe Information: 0 : Use RANU: False
MsiExec.exe Information: 0 : Starting RegisterTemplates: register = True
MsiExec.exe Warning: 0 : The registry is corrupt, multiple project factories found for language General
MsiExec.exe Warning: 0 : The registry is corrupt, multiple project factories found for language General
MsiExec.exe Information: 0 : Ending RegisterTemplates: register = True
MsiExec.exe Information: 0 : Starting RegisterInternal...
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute'.
MsiExec.exe Error: 0 : System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files\Intel\TMG UI Framework\UI Framework 1.1\TMG_UI_Framework_1.1.dll' or one of its dependencies. The system cannot find the file specified.
File name: 'file:///C:\Program Files\Intel\TMG UI Framework\UI Framework 1.1\TMG_UI_Framework_1.1.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute.GetVsPackageClass(String assemblyPath, String vsPackageClass)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvidePackageProjectFactoryAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvidePackageProjectFactoryAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideProjectItemAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideProjectItemAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute'.
MsiExec.exe Error: 0 : Exception: Access is denied - at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.CompileCTO(String& tempCTO)
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.Generate()
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.Register()
at Microsoft.Practices.RecipeFramework.VisualStudio.Registration.GuidancePackageRegistrationAttribute.Register(RegistrationContext context)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterInternal(RecipeFrameworkRegContext context, Boolean register)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterPackage(InstallContext installContext, Boolean register, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.Microsoft.Practices.RecipeFramework.IHostInstaller.InstallPackage(InstallContext context, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.InstallPackage(String configuration) - System
MsiExec.exe Error: 0 : Exception: Access is denied - at Microsoft.Practices.RecipeFramework.ManifestInstaller.InstallPackage(String configuration)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.Install(IDictionary stateSaver) - System
Thanks,
Ranjith