We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

paasen
Posts: 6
Joined: Tue Jun 23, 2015 8:41 am

"Modifying TARGETDIR property" issue on win7 x64

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.
Attachments
msi logs.zip
(423.51 KiB) Downloaded 219 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: "Modifying TARGETDIR property" issue on win7 x64

Hello,

I'm not sure why this happens, but looking over your sent log file it seems there is a custom action (i.e. _B656B12B_A020_4844_8B35_583D57310B55) which fails and triggers the installation error. Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”