This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Patch destination changes
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 20, 2010
07:42 PM
Patch destination changes
Hi,
I have a question about installing patch. My application design wants to allow users to change the patch install destination during patching, and so I added a dialog to allow them to change the path. Then, I tried setting INSTALLDIR with the new path, but patch doesn't install to the user selected location. It installs to the location that was selected in the original release. I tried using MsiSetProperty() and MsiSetTargetPath(), but both did not work.
Does anybody have any idea what I should do about it? Or, is it possible to do it?
Thanks in advance.
I have a question about installing patch. My application design wants to allow users to change the patch install destination during patching, and so I added a dialog to allow them to change the path. Then, I tried setting INSTALLDIR with the new path, but patch doesn't install to the user selected location. It installs to the location that was selected in the original release. I tried using MsiSetProperty() and MsiSetTargetPath(), but both did not work.
Does anybody have any idea what I should do about it? Or, is it possible to do it?
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2010
11:10 AM
Hi,
I think it's impossible to change the INSTALLDIR value inside a patch.
Regards,
Kevin
I think it's impossible to change the INSTALLDIR value inside a patch.
Regards,
Kevin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2010
04:29 PM
Kevin, thanks for your reply.
I tried playing with the registry settings in HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\uninstall and HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\installer\userdata\. But, I couldn't make it to change the patch location.
I tried playing with the registry settings in HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\uninstall and HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\installer\userdata\. But, I couldn't make it to change the patch location.