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: How to get setup name
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 27, 2013
03:35 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 17, 2013
09:23 AM
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.