简体   繁体   中英

Custom Installer package using NSIS

I have an installer where all the database, server, connection and authentication information is collected at the end of the installation.

Now I want to give an option to the user to create a custom install package at the end of installation with all the database, server, connection and authentication information pre-configured.

So that when the custom install package is run for the next time,all the information previously entered is retained and the installation should complete without having the user to enter the configurations again.

I guess you could store the information in a .ini file that the installer reads from if it is in the same directory as the installer ( $ExeDir ).

It is also possible to append data to the end of the installer .exe and read it back later but you would have to make a copy of the .exe because you cannot write to it while it is running.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM