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
- :
- Re: PACKAGE_LOCATION equivalent?
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
‎May 11, 2009
02:34 PM
PACKAGE_LOCATION equivalent?
Project Type: Basic MSI
Is there an equivalent for PACKAGE_LOCATION in a Basic MSI project? We have some uncompressed files sitting along-side the setup.exe in our distribution and I need to be able to copy those to a directory beneath INSTALLDIR. I've looked at SRCDIR but that is not the location of the original, compressed, setup.exe file. How can I refer back to the original location where the setup.exe was launched from (whether this is media or a network location)?
Is there an equivalent for PACKAGE_LOCATION in a Basic MSI project? We have some uncompressed files sitting along-side the setup.exe in our distribution and I need to be able to copy those to a directory beneath INSTALLDIR. I've looked at SRCDIR but that is not the location of the original, compressed, setup.exe file. How can I refer back to the original location where the setup.exe was launched from (whether this is media or a network location)?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2009
03:23 PM
Depending on your build settings, SETUPEXEDIR might be what you want.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2009
05:06 PM
SETUPEXEDIR may be as close as we'll get to a solution. Hopefully clients will not launch the setup.msi file instead of the .exe file. Is there a way to detect whether that has happened or not (so we can throw and error and bail)? Just check for SETUPEXEDIR as early in the UI/Exec sequence(s) as is feasible?
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)