Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Friday, December 13, 2013 1:36 PM
We had an MSI which built in VS 2008 and targeting X86 with framework v3.5 and then Installed in a PC. this has custom actions dll with install and uninstall conditions.
Later, we had converted all our projects to VS 2012 and targeting to X86 with framework v4.0.
After that, we have replaced the new dlls to the previously installed location including custom actions dll.
Now, the issue is we are unable to uninstall the component with the below exception:
Action start 17:53:24: InstallExecute.
MSI (s) (34!E4) [17:53:24:474]:
Error 1001. Error 1001. Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///D:\App\CoolSign\Casino Equipment Interface\CustomInstaller.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
DEBUG: Error 2769: Custom Action _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall, 1,
CustomAction _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:53:24: InstallExecute. Return value 3.
Action ended 17:53:24: INSTALL. Return value 3.
In the previously installed package cache, we had modified the below properties in MSI using orca and tried uninstalling, but the same issue is happening.
VSDFrameworkVersion 3.5.30729 to v4.0
VSDAllowLaterFrameworkVersions False to True
Please let me know the right way of pointing the right framework version for using the new custom actions dll with already installed version of MSI.
Thanks in advance.
Monday, December 16, 2013 2:49 AM
Hi,
>>This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Make sure all of your projects target the same version of the .NET Framework.
It sounds like one or more of your projects was likely converted to .NET 4.0, but another is using 3.5 or earlier still.If you change them all to the same version (.NET 4.0, for example), then this error should go away.
You should check assembly D:\App\CoolSign\Casino Equipment Interface\CustomInstaller.dll,and change them to .NET 4.0 Framework.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Monday, December 16, 2013 4:11 AM
We had verified all the projects and confirming that they are targeting to v4.0.
Is there any alternative/suggestion to proceed with this issue?
Monday, December 16, 2013 8:24 PM
You're saying that the install CA works but not the uninstall one? If so, it appears that the uninstall is loading an older runtime first, and then can't load your Dll. Is there another CA running before this one? If it works on install then the correct runtime is being loaded, but that's not happening on uninstall. There can only be one runtime in the msiexec process, so why the old one on uninstall? You may need to post the entire log to see what might be loading the older runtime.
Phil Wilson
Tuesday, December 17, 2013 4:28 AM
Install CA for old installer which is built in VS 2008 and targeting X86 with framework v3.5 is working fine. But, converted the project to VS 2012 and targeting to X86 with framework v4.0 and copied the DLLs only to the previously installed location and then try to uninstall the application gives the below exception. This means, the install CA DLL gets changed in new version but, installer is still loading the old runtime. Is there a way to route the MSI to load the latest runtime during uninstall??
Below is the log captured during the uninstall:
=== Logging started: 13-12-2013 17:53:23 ===
Action start 17:53:23: INSTALL.
Action start 17:53:23: DIRCA_CheckFX.
INFO : [12/13/2013 17:53:24:056] [CheckFX ]: Custom Action is starting...
INFO : [12/13/2013 17:53:24:056] [CheckFX ]: CoInitializeEx - COM initialization Apartment Threaded...
INFO : [12/13/2013 17:53:24:058] [CheckFX ]: MsiGetPropertyW - Determine size of property 'VSDFrameworkVersion'
INFO : [12/13/2013 17:53:24:059] [CheckFX ]: Allocating space...
INFO : [12/13/2013 17:53:24:060] [CheckFX ]: MsiGetPropertyW - Getting Property 'VSDFrameworkVersion'...
INFO : [12/13/2013 17:53:24:060] [CheckFX ]: Property 'VSDFrameworkVersion' retrieved with value '3.5.30729'.
INFO : [12/13/2013 17:53:24:061] [CheckFX ]: Set VSDNETMSG with the FrameworkVersion.
INFO : [12/13/2013 17:53:24:061] [CheckFX ]: MsiGetPropertyW - Determine size of property 'VSDNETMSG'
INFO : [12/13/2013 17:53:24:062] [CheckFX ]: Allocating space...
INFO : [12/13/2013 17:53:24:062] [CheckFX ]: MsiGetPropertyW - Getting Property 'VSDNETMSG'...
INFO : [12/13/2013 17:53:24:063] [CheckFX ]: Property 'VSDNETMSG' retrieved with value 'This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again.'.
INFO : [12/13/2013 17:53:24:064] [CheckFX ]: MsiSetPropertyW - Setting Property Value...
INFO : [12/13/2013 17:53:24:065] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDNETMSG' to 'This setup requires the .NET Framework version 3.5. Please install the .NET Framework and run this setup again.'.
INFO : [12/13/2013 17:53:24:065] [CheckFX ]: MsiGetPropertyW - Determine size of property 'VSDNETURLMSG'
INFO : [12/13/2013 17:53:24:066] [CheckFX ]: Allocating space...
INFO : [12/13/2013 17:53:24:066] [CheckFX ]: MsiGetPropertyW - Getting Property 'VSDNETURLMSG'...
INFO : [12/13/2013 17:53:24:067] [CheckFX ]: Property 'VSDNETURLMSG' retrieved with value 'This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?'.
INFO : [12/13/2013 17:53:24:068] [CheckFX ]: MsiSetPropertyW - Setting Property Value...
INFO : [12/13/2013 17:53:24:068] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDNETURLMSG' to 'This setup requires the .NET Framework version 3.5. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?'.
INFO : [12/13/2013 17:53:24:069] [CheckFX ]: MsiSetPropertyW - Setting Property Value...
INFO : [12/13/2013 17:53:24:069] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDFXAvailable' to 'TRUE'.
INFO : [12/13/2013 17:53:24:070] [CheckFX ]: Writing config file with version: '2.0.50727'...
INFO : [12/13/2013 17:53:24:071] [CheckFX ]: Creating Config File...
DEBUG : [12/13/2013 17:53:24:072] [CheckFX ]: Calling MsiGetActiveDatabase...
DEBUG : [12/13/2013 17:53:24:072] [CheckFX ]: Calling MsiDatabaseOpenView...
DEBUG : [12/13/2013 17:53:24:073] [CheckFX ]: Calling MsiViewExecute...
DEBUG : [12/13/2013 17:53:24:074] [CheckFX ]: Calling MsiViewFetch...
DEBUG : [12/13/2013 17:53:24:074] [CheckFX ]: Calling MsiRecordDataSize...
INFO : [12/13/2013 17:53:24:077] [CheckFX ]: MsiSetPropertyW - Setting Property Value...
INFO : [12/13/2013 17:53:24:077] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDFxConfigFile' to 'C:\Users\BJAYAK~1\AppData\Local\Temp\CFG76F9.tmp'.
INFO : [12/13/2013 17:53:24:078] [CheckFX ]: Custom Action succeeded.
INFO : [12/13/2013 17:53:24:078] [CheckFX ]: Custom Action completed with return code: '0'
Action ended 17:53:24: DIRCA_CheckFX. Return value 1.
Action start 17:53:24: AppSearch.
Action ended 17:53:24: AppSearch. Return value 1.
Action start 17:53:24: FindRelatedProducts.
Action ended 17:53:24: FindRelatedProducts. Return value 0.
Action start 17:53:24: ValidateProductID.
Action ended 17:53:24: ValidateProductID. Return value 1.
Action start 17:53:24: DIRCA_TARGETDIR.
Action ended 17:53:24: DIRCA_TARGETDIR. Return value 1.
Action start 17:53:24: CostInitialize.
Action ended 17:53:24: CostInitialize. Return value 1.
Action start 17:53:24: FileCost.
Action ended 17:53:24: FileCost. Return value 1.
Action start 17:53:24: IsolateComponents.
Action ended 17:53:24: IsolateComponents. Return value 1.
Action start 17:53:24: CostFinalize.
Action ended 17:53:24: CostFinalize. Return value 1.
Action start 17:53:24: InstallValidate.
Action ended 17:53:24: InstallValidate. Return value 1.
Action start 17:53:24: InstallInitialize.
Action ended 17:53:24: InstallInitialize. Return value 1.
Action start 17:53:24: ProcessComponents.
Action ended 17:53:24: ProcessComponents. Return value 1.
Action start 17:53:24: MsiUnpublishAssemblies.
Action ended 17:53:24: MsiUnpublishAssemblies. Return value 1.
Action start 17:53:24: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall.SetProperty.
Action ended 17:53:24: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall.SetProperty. Return value 1.
Action start 17:53:24: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall.
Action ended 17:53:24: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall. Return value 1.
Action start 17:53:24: UnpublishComponents.
Action ended 17:53:24: UnpublishComponents. Return value 1.
Action start 17:53:24: UnpublishFeatures.
Action ended 17:53:24: UnpublishFeatures. Return value 1.
Action start 17:53:24: StopServices.
Action ended 17:53:24: StopServices. Return value 1.
Action start 17:53:24: DeleteServices.
Action ended 17:53:24: DeleteServices. Return value 1.
Action start 17:53:24: UnregisterComPlus.
Action ended 17:53:24: UnregisterComPlus. Return value 1.
Action start 17:53:24: SelfUnregModules.
Action ended 17:53:24: SelfUnregModules. Return value 1.
Action start 17:53:24: UnregisterTypeLibraries.
Action ended 17:53:24: UnregisterTypeLibraries. Return value 1.
Action start 17:53:24: RemoveODBC.
Action ended 17:53:24: RemoveODBC. Return value 1.
Action start 17:53:24: UnregisterFonts.
Action ended 17:53:24: UnregisterFonts. Return value 1.
Action start 17:53:24: RemoveRegistryValues.
Action ended 17:53:24: RemoveRegistryValues. Return value 1.
Action start 17:53:24: UnregisterClassInfo.
Action ended 17:53:24: UnregisterClassInfo. Return value 1.
Action start 17:53:24: UnregisterExtensionInfo.
Action ended 17:53:24: UnregisterExtensionInfo. Return value 1.
Action start 17:53:24: UnregisterProgIdInfo.
Action ended 17:53:24: UnregisterProgIdInfo. Return value 1.
Action start 17:53:24: UnregisterMIMEInfo.
Action ended 17:53:24: UnregisterMIMEInfo. Return value 1.
Action start 17:53:24: RemoveIniValues.
Action ended 17:53:24: RemoveIniValues. Return value 1.
Action start 17:53:24: RemoveShortcuts.
Action ended 17:53:24: RemoveShortcuts. Return value 1.
Action start 17:53:24: RemoveEnvironmentStrings.
Action ended 17:53:24: RemoveEnvironmentStrings. Return value 1.
Action start 17:53:24: RemoveDuplicateFiles.
Action ended 17:53:24: RemoveDuplicateFiles. Return value 1.
Action start 17:53:24: RemoveFiles.
Action ended 17:53:24: RemoveFiles. Return value 1.
Action start 17:53:24: RemoveFolders.
Action ended 17:53:24: RemoveFolders. Return value 1.
Action start 17:53:24: CreateFolders.
Action ended 17:53:24: CreateFolders. Return value 1.
Action start 17:53:24: MoveFiles.
Action ended 17:53:24: MoveFiles. Return value 1.
Action start 17:53:24: InstallFiles.
Action ended 17:53:24: InstallFiles. Return value 1.
Action start 17:53:24: PatchFiles.
Action ended 17:53:24: PatchFiles. Return value 1.
Action start 17:53:24: DuplicateFiles.
Action ended 17:53:24: DuplicateFiles. Return value 1.
Action start 17:53:24: BindImage.
Action ended 17:53:24: BindImage. Return value 1.
Action start 17:53:24: CreateShortcuts.
Action ended 17:53:24: CreateShortcuts. Return value 1.
Action start 17:53:24: RegisterClassInfo.
Action ended 17:53:24: RegisterClassInfo. Return value 1.
Action start 17:53:24: RegisterExtensionInfo.
Action ended 17:53:24: RegisterExtensionInfo. Return value 1.
Action start 17:53:24: RegisterProgIdInfo.
Action ended 17:53:24: RegisterProgIdInfo. Return value 1.
Action start 17:53:24: RegisterMIMEInfo.
Action ended 17:53:24: RegisterMIMEInfo. Return value 1.
Action start 17:53:24: WriteRegistryValues.
Action ended 17:53:24: WriteRegistryValues. Return value 1.
Action start 17:53:24: WriteIniValues.
Action ended 17:53:24: WriteIniValues. Return value 1.
Action start 17:53:24: WriteEnvironmentStrings.
Action ended 17:53:24: WriteEnvironmentStrings. Return value 1.
Action start 17:53:24: RegisterFonts.
Action ended 17:53:24: RegisterFonts. Return value 1.
Action start 17:53:24: InstallODBC.
Action ended 17:53:24: InstallODBC. Return value 0.
Action start 17:53:24: RegisterTypeLibraries.
Action ended 17:53:24: RegisterTypeLibraries. Return value 1.
Action start 17:53:24: SelfRegModules.
Action ended 17:53:24: SelfRegModules. Return value 1.
Action start 17:53:24: RegisterComPlus.
Action ended 17:53:24: RegisterComPlus. Return value 1.
Action start 17:53:24: InstallServices.
Action ended 17:53:24: InstallServices. Return value 1.
Action start 17:53:24: StartServices.
Action ended 17:53:24: StartServices. Return value 1.
Action start 17:53:24: RegisterUser.
Action ended 17:53:24: RegisterUser. Return value 0.
Action start 17:53:24: RegisterProduct.
Action ended 17:53:24: RegisterProduct. Return value 1.
Action start 17:53:24: PublishComponents.
Action ended 17:53:24: PublishComponents. Return value 1.
Action start 17:53:24: MsiPublishAssemblies.
Action ended 17:53:24: MsiPublishAssemblies. Return value 1.
Action start 17:53:24: PublishFeatures.
Action ended 17:53:24: PublishFeatures. Return value 1.
Action start 17:53:24: PublishProduct.
Action ended 17:53:24: PublishProduct. Return value 1.
Action start 17:53:24: InstallExecute.
MSI (s) (34!E4) [17:53:24:474]:
Error 1001. Error 1001. Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///D:\App\CoolSign\Casino Equipment Interface\CustomInstaller.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded..
DEBUG: Error 2769: Custom Action _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall, 1,
CustomAction _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:53:24: InstallExecute. Return value 3.
Action ended 17:53:24: INSTALL. Return value 3.
Property(S): UpgradeCode = {A402B29A-E5AA-4347-A731-45BBC071769E}
Property(S): _D3D25018_6B5D_4164_B17A_99897ED708A1.uninstall = /installtype=notransaction /action=uninstall /LogFile= /TargetDir="D:\App\CoolSign\Casino Equipment Interface\" "D:\App\CoolSign\Casino Equipment Interface\CustomInstaller.dll" "C:\Users\BJAYAK~1\AppData\Local\Temp\CFG76F9.tmp"
Property(S): TARGETDIR = D:\App\CoolSign\Casino Equipment Interface\
Property(S): _8FD6A95870C34EDFADE4A95CDA6DF611 = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\CoolSign\UserGuides\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): _4BAD8C50EB4C48309D97906509602267 = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\CoolSign\
Property(S): ProgramFilesFolder = C:\Program Files\
Property(S): _9EA8861441CF4459984F9CA3629B80D2 = C:\Program Files\CoolSign\
Property(S): VSDFXAvailable = TRUE
Property(S): VSDFrameworkVersion = 3.5.30729
Property(S): VSDAllowLaterFrameworkVersions = False
Property(S): ProductName = Casino Equipment Interface
Property(S): ProductCode = {311F9A48-7F90-4F16-89C6-B30A8C44D376}
Property(S): ProductVersion = 13.0
Property(S): Manufacturer = Bally Technologies
Property(S): ARPHELPTELEPHONE = +1-877-462-2559
Property(S): ARPHELPLINK = http://ballytech.com/customer-center/systems-support.htm
Property(S): ARPCONTACT = Bally Technologies
Property(S): ARPURLINFOABOUT = http://www.ballytech.com/feature/coolsign.html
Property(S): ProductLanguage = 1033
Property(S): ALLUSERS = 1
Property(S): ARPPRODUCTICON = _6FEFF9B68218417F98F549.exe
Property(S): SecureCustomProperties = PREVIOUSVERSIONSINSTALLED;NEWERPRODUCTFOUND
Property(S): RedirectedDllSupport = 2
Property(S): VersionNT = 601
Property(S): VSDNETURLMSG = This setup requires the .NET Framework version 3.5. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?
Property(S): VSDIISMSG = This setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher. This setup cannot be installed on Windows 95, Windows 98, or Windows Me. Please install Internet Information Server and run this setup again.
Property(S): VSDUIANDADVERTISED = This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.
Property(S): VSDNETMSG = This setup requires the .NET Framework version 3.5. Please install the .NET Framework and run this setup again.
Property(S): VSDINVALIDURLMSG = The specified path '[2]' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager.
Property(S): VSDVERSIONMSG = Unable to install because a newer version of this product is already installed.
Property(S): AdminEulaForm_Property = No
Property(S): ErrorDialog = ErrorDialog
Property(S): SFF_UpFldrBtn = UpFldrBtn
Property(S): SFF_NewFldrBtn = NewFldrBtn
Property(S): FolderForm_AllUsers = ME
Property(S): FolderForm_AllUsersVisible = 0
Property(S): EulaForm_Property = No
Property(S): AdminMaintenanceForm_Action = Repair
Property(S): DefaultUIFont = VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400
Property(S): MaintenanceForm_Action = Repair
Property(S): AdminWelcomeForm_NextArgs = AdminEulaForm
Property(S): AdminEulaForm_PrevArgs = AdminWelcomeForm
Property(S): AdminEulaForm_NextArgs = AdminFolderForm
Property(S): AdminFolderForm_PrevArgs = AdminEulaForm
Property(S): AdminFolderForm_NextArgs = AdminConfirmInstallForm
Property(S): AdminConfirmInstallForm_PrevArgs = AdminFolderForm
Property(S): WelcomeForm_NextArgs = EulaForm
Property(S): EulaForm_PrevArgs = WelcomeForm
Property(S): EulaForm_NextArgs = FolderForm
Property(S): FolderForm_PrevArgs = EulaForm
Property(S): FolderForm_NextArgs = ConfirmInstallForm
Property(S): ConfirmInstallForm_PrevArgs = FolderForm
Property(S): MsiLogFileLocation = C:\UninstallCEILog.txt
Property(S): PackageCode = {4751D8FE-A8FB-4F73-BE8C-DD9E1327400B}
Property(S): ProductState = 5
Property(S): REMOVE = ALL
Property(S): CURRENTDIRECTORY = C:\Users\bjayakumar\Desktop\New folder
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 12768
Property(S): MsiSystemRebootPending = 1
Property(S): PRODUCTLANGUAGE = 1033
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): WindowsBuild = 7600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:\Windows\
Property(S): WindowsVolume = C:\
Property(S): SystemFolder = C:\Windows\system32\
Property(S): System16Folder = C:\Windows\system\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\BJAYAK~1\AppData\Local\Temp\
Property(S): CommonFilesFolder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\bjayakumar\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\bjayakumar\Favorites\
Property(S): NetHoodFolder = C:\Users\bjayakumar\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\bjayakumar\Documents\
Property(S): PrintHoodFolder = C:\Users\bjayakumar\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\bjayakumar\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\bjayakumar\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\bjayakumar\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\bjayakumar\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\Windows\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): Intel = 6
Property(S): PhysicalMemory = 3292
Property(S): VirtualMemory = 757
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = bjayakumar
Property(S): UserSID = S-1-5-21-1769998655-1315342485-1178461688-28944
Property(S): UserLanguageID = 16393
Property(S): ComputerName = WS-IN508
Property(S): SystemLanguageID = 16393
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 22
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 17:53:24
Property(S): Date = 13-12-2013
Property(S): MsiNetAssemblySupport = 4.0.30319.17929
Property(S): MsiWin32AssemblySupport = 6.1.7600.16385
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = Bally
Property(S): COMPANYNAME = Microsoft
Property(S): Installed = 2013/06/07 18:30:56
Property(S): DATABASE = C:\Windows\Installer\160db45c.msi
Property(S): OriginalDatabase = C:\Windows\Installer\160db45c.msi
Property(S): UILevel = 2
Property(S): Preselected = 1
Property(S): ACTION = INSTALL
Property(S): VSDFxConfigFile = C:\Users\BJAYAK~1\AppData\Local\Temp\CFG76F9.tmp
Property(S): INSTALLLEVEL = 1
Property(S): ROOTDRIVE = D:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (34:38) [17:53:24:869]: Product: Casino Equipment Interface -- Removal failed.
MSI (s) (34:38) [17:53:24:869]: Windows Installer removed the product. Product Name: Casino Equipment Interface. Product Version: 13.0. Product Language: 1033. Manufacturer: Bally Technologies. Removal success or error status: 1603.
=== Logging stopped: 13-12-2013 17:53:24 ===
Tuesday, December 17, 2013 4:15 PM
Well you didn't answer my question, and I already explained what the problem was, but unfortunately you're just quoting it back at me.
Is there another uninstall CA that runs before the one that requires the 4.0 runtime? Repeating myself, MSI can only load one runtime, so why is it loading 2.0/3.5 first? That's the problem we're trying to solve, we already know this.
This is exactly the problem described here and it's why there is no Windows Installer support for managed code custom actions:
If the CA is doing something relatively trivial that can be done without code, then try that, and note that C++ code custom actions do not have this issue.
Phil Wilson
Wednesday, December 18, 2013 4:21 AM
The only custom action dll i'd is CustomInstaller.dll which is targeted to v4.0. I don't see any custom action for targeting v2.0/3.5 from my current code. before converting to VS2012, this dll was targeted to v3.5 and installed. later the new dlls which are converted to VS2012 targeted to v4.0 have been copied to the installed location.
Hope this answers your question.
In the previously installed package cache, i found the below properties in "Property table"
VSDFrameworkVersion 3.5.30729
VSDAllowLaterFrameworkVersions False
Should this matter to load the new runtime? if so, modifying these properties is failing, any reason?