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 set a property during Installation/Uninstallation
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
‎Nov 19, 2008
03:16 AM
How to set a property during Installation/Uninstallation
Hi, I have a setup.exe to be installed or uninstalled. I can't build the setup.exe again through InstallShield 2008. I want to change one property defined in ISM file through setup.exe .
How can I set TITLE_CAPTIONBAR(used in ISM file) property during installation through command line by calling the build(Setup.exe).
Is thr any way to set this property during uninstallation also.
Thanks
How can I set TITLE_CAPTIONBAR(used in ISM file) property during installation through command line by calling the build(Setup.exe).
Is thr any way to set this property during uninstallation also.
Thanks
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 19, 2008
09:20 AM
Check the InstallShield Help under Setup.exe -> command-line parameters. You should also search the internet for "Msi command-line" (or something similar).
You simply need to pass "TITLE_CAPTIONBAR=some_value" as a parameter to MSI. Check those resources for the precise syntax.
You simply need to pass "TITLE_CAPTIONBAR=some_value" as a parameter to MSI. Check those resources for the precise syntax.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 19, 2008
11:20 PM
Thanks for reply.... I tried but it didn't work... I need to set the property through setup.exe not by .Msi. TITLE_CAPTIONBAR is not set by any option through command line...
Since i can't build the setup.exe again so i have to have set this value at run time only by any mean...
Any way to do this ???
Thanks
Since i can't build the setup.exe again so i have to have set this value at run time only by any mean...
Any way to do this ???
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2008
04:48 AM
Hi Amit,
You haven't mentioned whether you have the Compressed or UnCompressed setup.
If your installer is uncompressed, look for the setup.ini file. You can find the Key
'CmdLine' under the session '[Startup]'. Add the required property value in the command line.
Hope this helps.
You haven't mentioned whether you have the Compressed or UnCompressed setup.
If your installer is uncompressed, look for the setup.ini file. You can find the Key
'CmdLine' under the session '[Startup]'. Add the required property value in the command line.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2008
06:39 AM
Thanks... Setup.exe is uncompressed.. I tried to set the property using
CmdLine=TITLE_CAPTIONBAR=MyApp ... It's not working here... 😞
Could u tell me how to create a log file for setup.exe ... It would be helpful to debug it through log file...
setup.exe /s /L*v "C:\Logs\Mylog.log" is the coomand i am using to generate a log file ... but its not creating any log file at mentioned path.
Thanks
CmdLine=TITLE_CAPTIONBAR=MyApp ... It's not working here... 😞
Could u tell me how to create a log file for setup.exe ... It would be helpful to debug it through log file...
setup.exe /s /L*v "C:\Logs\Mylog.log" is the coomand i am using to generate a log file ... but its not creating any log file at mentioned path.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2008
02:43 AM
Any update... ???
😞 😞
😞 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2008
03:10 AM
Hello... Its a installScript project... Thats why I think I am not able to set property through command line...
Please help
Please help
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2008
10:13 AM
Look at the help topic "Setup.exe and Update.exe Command-Line Parameters". For InstallScript projects, use the /z command-line parameter to set the value of the system variable CMDLINE in your script.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)