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!

kidmizere

using variables for registry values?

Is it possible to substitue a variable as a registry value? I would like to create a reg value for install date that uses the current date as the value. Is this possible thru the interface of ai or should i use an outside batch file that executes after installation as a custom action?
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

You can put any Windows Installer Property as a registry value. We don't have a nice UI for it yet, but the syntax [Valid Property] will get substituted at install time with that property's value.

A complete list of Windows Installer properties can be found at

http://msdn.microsoft.com/library/defau ... erence.asp

Now that being said, I don't know if there is any property with the install date. In that case, you should use the custom action.

Regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”