btrimpop
Posts: 10
Joined: Mon Mar 23, 2009 3:03 pm

Using ini file for defaults

Is there a way to use an ini file to set defaults on edit boxes?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Using ini file for defaults

Hi,

I'm afraid that this is not supported by Windows Installer. However, you can try setting the properties through the package command line.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
btrimpop
Posts: 10
Joined: Mon Mar 23, 2009 3:03 pm

Re: Using ini file for defaults

cosmin wrote:Hi,

I'm afraid that this is not supported by Windows Installer. However, you can try setting the properties through the package command line.

Regards,
Cosmin


How about with registry entries? What I need to do is save user selections so the next time they run an install previous selections are defaulted. For example we send out a database update, the user enters the db server and database to update. The next time we send out a database update those values default from the previous update that was applied.

Thanks Cosmin,
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Using ini file for defaults

Hi,

Registry entries can be used. During an install or uninstall process you can access them through searches. The names of the searches are actually installer properties which contain the results. For example, you can use the properties of your custom edit boxes for the searches.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”