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
- :
- Application name change dynamically
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
‎Aug 15, 2019
10:54 PM
We need to changer the application name dynamically by script of installsheild . Please help me out for the issue .
- Tags:
- installshield
(2) Solutions
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 16, 2019
03:09 AM
Hi @Sashikanta ,
Help me with few more details:
- What type of project you are using?-I could get it is basic msi project from the sample you had added here
- If Basic MSI-Add the below code:
function MyFunction(hMSI)
// To Do: Declare local variables.
STRING svName;
begin
MsiSetProperty(hMSI, "ProductName", "TrailProduct");
// To Do: Write script that will be executed when MyFunction is called.end;
- Since it is basic MSI project,you have to use hMSI as handle where if it is InstallScript project use ISMSI_HANDLE as MSI handle.
- Add installscript custom action and add this function name as Function Name argument
- Sequence it in initial phase:Here you can do Install Exec Sequence->After CostInitialize
- If Basic MSI-Add the below code:
- If it is InstallScript project steps will slightly vary like adding the above code in InstallScript events which you could find under InstallScript view
- Build and execute it will work(I had verified as well :-))
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 16, 2019
05:41 AM
Hi Jenifer,
Thank you for the solution. I changed the application name successfully . just one step to my goal is My desktop shortcut name not changed can you help me to change the shortcut name by install shield script.
Thank You
Wait for your positive reply.
(10) Replies