cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnemmatty
Level 3

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? 

Labels (1)
0 Kudos
(1) Reply
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

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:

https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/StrToNumHex.htm

Please give this suggestion a try. Does this work for you?

Please let us know if you have any questions or concerns. Thanks!

0 Kudos