Need to Write Out File During Install

Post specialized setup scripts you have created here.
Posts: 1
Joined: Sun May 25, 2008 6:35 am

Need to Write Out File During Install

Postby TrakSoft » Sun May 25, 2008 6:42 am

I have a need to write to a text file the locations of where all the files are being installed to. I am assuming that I would use the "Edit INI File" command to do this. However, the help file and samples are extremely useless when it comes to scripting. Does anyone have any sample code to perform this function?

Any help will be greatly appreciated.

Thanks in advance!


Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm

Postby CandiceJones » Tue Jun 10, 2008 10:01 am

Actually, the sample projects contain lots of custom scripts, so I'm not sure why you'd find them useless.

At any rate, what you want to do is insert an Edit INI File command somewhere in your setup above Apply Install and that's it. You can of course use variables and they'll be written out as the values they hold.
Candice Jones
Home of The Next Generation MSI Installer
Get your free copy today -

Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest