![]() ![]() NB! You might have to insert the “ResolveSource” action, since it is not allways default. In this example i have used VBScript Embedded. Put into MSI package execute deferred after “InstallInitialize” and This is why i “hardcoded” the ini filename into the package. The problem is that if you later do a repair on the package, it will use the default settings, instead of the custom named ini file. If you have an idea of how to do it, please do not hesistate to comments this article. NB! I also tried to make a script that could use custom named ini file, based on the commandline parameters, but it is, as far as i know, not possible. If you later change the ini file at the source, and do a repair of the msi on the client, the new settings will be used. System works both with “DaysSerial”=”0100000” ini format, or DaysSerial=0100000 ini format. “DaysSerial”=”0100000” line is read in to property namedĭaysSerial and setting the value to 0100000 Purpose:Īutomatically reads a ini file located in the MSI SOURCEDIR property.Įach parameter in the ini file is read into the property thatĮx. ![]() This small script created for Windows installer, will do the job. ![]() ini file, every time a installation or repair is run? Have you ever needed the functionality to read the property values from an. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |