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
- :
- Accepting hex values from commandline in msi installer
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 05, 2022
11:07 AM
Accepting hex values from commandline in msi installer
I am creating a msi installer using InstallShield 2015, I need to pass a hex value to the installer via command line as given below
msiexec /i setup.msi LCID=0x9
This LCID will get written into the registry in a DWORD type variable. However, I noticed that it will work only if i pass a decimal. Is there any way I can pass a hex value to the installer and write into the registry?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 09, 2022
03:52 PM
Hi @johnemmatty,
Thank you for your post.
Please accept our apologies for the delayed response.
You could try using the StrToNumHex InstallScript function, via an InstallScript custom action, per the documentation at the following link:
Please give this suggestion a try. Does this work for you?
Please let us know if you have any questions or concerns. Thanks!