cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
blippen
Level 3

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
Labels (1)
0 Kudos
(2) Replies
Holger_G
Level 10

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.
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos