Passing UI info to Variable,Registry Key, anything - Advanced Installer Community

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!

rossom
Posts: 21
Joined: Fri Aug 01, 2008 10:05 pm

Passing UI info to Variable,Registry Key, anything

I must be missing something, but here is what I am trying to do.

I have a program that will be run at the end of the Advanced installer MSI install. It will need an environmental variable to reference when running. So I added a dialog that asks for a username and when they click next I try passing this information to a property called say [Myusername] (Myusername has a default value of Error). In the log it says that the property was changed from Error to %the username I entered% but in the end the output is always "error".

So I have tried using custom actions, registry key, and the AI environmental variable. :?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Passing UI info to Variable,Registry Key, anything

Hi,

Try using a public property, for example MY_USERNAME. Private properties use their default values when used in InstallExecuteSequence.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rossom
Posts: 21
Joined: Fri Aug 01, 2008 10:05 pm

Re: Passing UI info to Variable,Registry Key, anything

Dang, and I did search for public and private, but I must have missed that. Thanks that looks like just what I needed

Return to “Common Problems”