cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
patrick_arena
Level 4

How to get setup name

Hi everyone,
Is there a way to get the setup.exe name in a IS-MSI project?
I need to build the setup which makes the setup.exe but AFTERWARDS i need to change it through Explorer or a cmd prompt into ---> whatever.exe.

After that I'd like the installscript code to know what this changed name is.
Thanx in advance for any help.
Patrick
Labels (1)
0 Kudos
(1) Reply
ITI_Randy
Level 6

patrick.arena wrote:
Hi everyone,
Is there a way to get the setup.exe name in a IS-MSI project?
I need to build the setup which makes the setup.exe but AFTERWARDS i need to change it through Explorer or a cmd prompt into ---> whatever.exe.

After that I'd like the installscript code to know what this changed name is.
Thanx in advance for any help.
Patrick


Associate the setup.exe name of your setup with the Product name of your general infomration section of the IDE. You can query the property "ProductName" in InstallScript to get the value of this at run time. If necessary, make the setup name an appended portion of the title ("My Product Descriptive Name - Setup") and split the value of the ProductName to get the value you need. You can also use the value of SETUPEXEDIR to obtain the folder where the setup.exe is located.
0 Kudos