We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

usgrcm
Posts: 1
Joined: Tue Nov 19, 2013 2:28 pm

Property field to populate registry entry

Hey can someone tell me how i can do this? I want to modify a MSI I have created so that when i run the following
MSIEXEC.exe /i SomeMSI.MSI PROPERTY=BLAHBLAH

it will populate in the Value field of a registry key..

Thanks..
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Property field to populate registry entry

Hello and welcome to Advanced Installer forums,

In order to achieve that you can go in the Install Parameters page and Create or edit a property(e.g. MY_PROP).

Then you can go in the Registry page, create your registry value and in the Data field your can have something like [MY_PROP].
So, when you are running your package from the command line you can use something like:
MSIEXEC.exe /i SomeMSI.MSI MY_PROP=”BLAHBLAH ”

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”