Creating custom installation package - 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!

Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Creating custom installation package

Hi guys,

If you install the server of one of our products the server-setup will extract a client setup on a network share.
The user on the client computer should just execute this client setup from the network share. that works so far. but there are some configuration parameters that should be modified in each setup (e.g. the server adress where the client later needs to connet).
What is the best way to do this? is there a way to dynamically modified my client setup package in the server setup package. oder should i write a ini and save it in the same dir as the client package? is it possible to read properties from the ini?

Thank you for your help
kind regards
laurin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating custom installation package

Hi Laurin,
What is the best way to do this?
The best way to dynamically set data in your application is to use a an XML or INI file, or a registry entry that stores all the
custom data entered by the user.

For example the server address can be entered using an address picker on a MSI dialog. Using the property attached to that control you can save the data
in the registry or in the configuration files.
is it possible to read properties from the ini?
Advanced Installer cannot do this automatically, but you can use custom actions to accomplish this behavior.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Creating custom installation package

Thank you :-)

Return to “Common Problems”