Hi.
Clean install of my MSI package works fine on both win7 and win8.
Upgrade works on win8 x64 but not on win7 x64, error message "There is a problem with this Windows Installer package....".
x86 win7 and win8 is not an issue as explained below.
Visual studio had a bug which caused problems to our earlier MSI packages because it used the same ComponentId for files both in our 64bit installation and 32bit installation.
At uninstallation some registry keys were not removed which failed the next install. Manual removal of registry keys had to be done before being able to install new versions.
So with my new MSI created in AI I have added a registry remove of the keys before the new installation should start.
But I am not sure that is the problem here.
I think the problem is that win7 modifies targetdir to x86 while win8 stays on x64.
Win8 (OK):
MSI (s) (34:94) [15:47:54:661]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Net iD'. Its new value: 'C:\Program Files\Net iD\'.
Win7 (FAIL):
MSI (s) (44:F8) [15:30:21:868]: WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Net iD\' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0).
MSI (s) (44:F8) [15:30:21:868]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Net iD'. Its new value: 'C:\Program Files (x86)\Net iD\'.
Then the command for stopping our process fails and ends upgrade on win7 x64.
win8:
MSI (s) (34:94) [15:48:02:441]: Executing op: CustomActionSchedule(Action=_B656B12B_A020_4844_8B35_583D57310B55,ActionType=3090,Source=C:\Program Files\Net iD\iid.exe,Target=-stop,)
win7:
MSI (s) (44:F8) [15:30:28:654]: Executing op: CustomActionSchedule(Action=_B656B12B_A020_4844_8B35_583D57310B55,ActionType=3090,Source=C:\Program Files (x86)\Net iD\iid.exe,Target=-stop,)
MSI (s) (44:F8) [15:30:28:654]: Note: 1: 1721 2: _B656B12B_A020_4844_8B35_583D57310B55 3: C:\Program Files (x86)\Net iD\iid.exe 4: -stop
MSI (s) (44:F8) [15:30:28:654]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (C4:9C) [15:30:28:810]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: _B656B12B_A020_4844_8B35_583D57310B55, location: C:\Program Files (x86)\Net iD\iid.exe, command: -stop
MSI (s) (44:F8) [15:30:58:716]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (44:F8) [15:30:58:716]: Product: Net iD -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: _B656B12B_A020_4844_8B35_583D57310B55, location: C:\Program Files (x86)\Net iD\iid.exe, command: -stop
Action ended 15:30:58: InstallExecute. Return value 3.
Any ideas? Are there any known differences between win7 and win8 when it comes to this?
Regards.
FOLLOW US
Get the latest news in Application Packaging