Taking input and saving to Registy.. - 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!

kenvac
Posts: 5
Joined: Sat Mar 21, 2009 7:45 am

Taking input and saving to Registy..

Hello,
In multi language installer when user selects a language..say french language at that time i want to save some info in registry..how can i do that?
Also i want user to close particular application if its active during installation.
I am currently using a evaluation verion of professional edition..V r planning to buy advance installer if v get a success in making wht v want..
Reply urgently...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Taking input and saving to Registy..

Hi,
In multi language installer when user selects a language..say french language at that time i want to save some info in registry..how can i do that?
During install you can detect the installation language by using the "ProductLanguage" property. You can find a list with the possible values here.

In your project, you can use the Registry page to create the registry entries for each language. After that, in the Organization page you can condition the components of the registry entries with the "ProductLanguage" property.
Also i want user to close particular application if its active during installation.
You can try using a custom action to detect the application and show a message to the user. Please note that the User Guide contains the Detect or stop process how-to which may help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kenvac
Posts: 5
Joined: Sat Mar 21, 2009 7:45 am

Re: Taking input and saving to Registy..

Thank you for your reply...

Here is more description for my need.
When user starts installation of my application, I want to user to close microsoft word. If open it is open then promt user with a dialog which shows "Please close winword(winword.exe) " two option will be displayed in dialog "retry and cancel".
User can kill the process of winword.exe and then retry to proceed with installation or can cancel installation by pressing cancel button.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Taking input and saving to Registy..

Hi,

Unfortunately this cannot be done in a Professional project. However, something similar could be done with a custom action in an Enterprise project. Please note that the User Guide contains the Make sure an edit box is not empty how-to which may help you. The custom action which shows the message to the user can be conditioned with the AI_PROCESS_STATE property (it is set by the custom action which detects the process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kenvac
Posts: 5
Joined: Sat Mar 21, 2009 7:45 am

Re: Taking input and saving to Registy..

okay thx for your help

Return to “Common Problems”