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: InstallScript: SetupFileName
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 18, 2007
05:58 AM
InstallScript: SetupFileName
Hi,
I'm trying to set the name of the output file with iscmdbld.exe and some installscript code but I can't get it to work.
I can't get the property thru:
MsiGetProperty(hMSI, "SetupFileName", svRes, nBuffer)
Is there another way to get and set it? (Except from the IDE.)
I'm sorry if this question has been asked before, I tried the search function for this but the search timed out (tried: setup file name, setup file).
Thanks,
Anders
I'm trying to set the name of the output file with iscmdbld.exe and some installscript code but I can't get it to work.
I can't get the property thru:
MsiGetProperty(hMSI, "SetupFileName", svRes, nBuffer)
Is there another way to get and set it? (Except from the IDE.)
I'm sorry if this question has been asked before, I tried the search function for this but the search timed out (tried: setup file name, setup file).
Thanks,
Anders
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 18, 2007
06:42 AM
I assume you mean the release's Single Exe File Name, right?
You could make use of the Automation Interface by using the 'SingleEXEFileName' member of the ISWiRelease Object. Just take a look at the InstallShield help library for more details.
You could make use of the Automation Interface by using the 'SingleEXEFileName' member of the ISWiRelease Object. Just take a look at the InstallShield help library for more details.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 18, 2007
08:41 AM
If you're talking about pure InstallScript (and talking about getting the name at run time), perhaps see if the PACKAGE_LOCATION variable has the value you want.