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
- :
- Single .ISM, multiple release targets; different INSTALLDIR targets, what's best way?
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
‎Jun 05, 2013
07:47 PM
Single .ISM, multiple release targets; different INSTALLDIR targets, what's best way?
Hi have a single single .ISM Basic MSI project.
Under releases I have 2 different targets: 64bit, and 64bit-BETA. Each release needs to target a differently named installation directory.
For example:
c:\program files\MYPRODUCT
and
c:\program files\MYPRODUCT-BETA
What's the easiest way to accomplish this?
I probably have glossed over the right way to do it and got mired in the wrong way ... but what I had done was to add different release flags to each of the releases: then during the install, if BETA -- add "-BETA" to the installation directory. But I'm sure you will spot the problem right away.
Changing INSTALLDIR after CostFinalize doesn't update all properties derived from INSTALLDIR (not quite sure how the UI Dialog figures out how to do it when manually changing the install directory!).
Before CostFinalize, I don't know what the base (or original) installation directory is. If I could extract before CostFinalize, I'm OK with that.
Thanks,
Wim
Under releases I have 2 different targets: 64bit, and 64bit-BETA. Each release needs to target a differently named installation directory.
For example:
c:\program files\MYPRODUCT
and
c:\program files\MYPRODUCT-BETA
What's the easiest way to accomplish this?
I probably have glossed over the right way to do it and got mired in the wrong way ... but what I had done was to add different release flags to each of the releases: then during the install, if BETA -- add "-BETA" to the installation directory. But I'm sure you will spot the problem right away.
Changing INSTALLDIR after CostFinalize doesn't update all properties derived from INSTALLDIR (not quite sure how the UI Dialog figures out how to do it when manually changing the install directory!).
Before CostFinalize, I don't know what the base (or original) installation directory is. If I could extract before CostFinalize, I'm OK with that.
Thanks,
Wim
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2013
10:27 AM
I have exactly the same same situation and question, and am still looking for the solution. Any guidance would be very much appreciated.
Many thanks
Many thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2013
11:00 AM
I found this thread, which looks promising...
Setting INSTALLDIR in Custom Action doesn't change install location
Setting INSTALLDIR in Custom Action doesn't change install location
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2013
11:23 AM
Very nice - Thanks!
AmitRout wrote:
Have a look
http://blogs.flexerasoftware.com/installtalk/2011/01/building-32-bit-and-64-bit-installations-from-the-same-installshield-project.html
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)