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: Get the self-extracting executable file path
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
‎Dec 18, 2007
09:34 AM
Get the self-extracting executable file path
Hi!
I'd like to know if it's possible, in an InstallScript project, to get the path of the self-extracting executable file?
I need that to check if a file has been manually placed at the same place by the user. If so, I use it, if not, I use the one I have in support.
Thanks!
Sebastien
I'd like to know if it's possible, in an InstallScript project, to get the path of the self-extracting executable file?
I need that to check if a file has been manually placed at the same place by the user. If so, I use it, if not, I use the one I have in support.
Thanks!
Sebastien
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2007
09:42 AM
Perhaps see if PACKAGE_LOCATION has the value you want.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2007
10:02 AM
PACKAGE_LOCATION is always empty.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2007
10:56 AM
Hmmm... It's a pure InstallScript project, using a self-extracting executable from the "Create a single file executable" option on the General Information panel of the Release Wizard? How are you displaying the value of PACKAGE_LOCATION?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2007
12:15 PM
OK, I found the problem. When PACKAGE_LOCATION is displayed in debug mode, it's empty. But at runtime, if I display the value in a messagebox, I get the complete path.
Thanks for your help!
Thanks for your help!