(Taken from Wise newsgroups)
INI files and SetupCapture Andre Lefebvre alefebvrATNOSPAMzdnetmail.com
I'm working on repackaging an application containing many INI files. Those INI files may contain comment lines (;) and also variables with no value. Here is a sample of what an INI file can look like: [Section]
; this is only a comment
Var1=Something
Var2=
Var3=
The empty variables are really important for the application to work. My problem is that SetupCapture removes all comments and empty values at compilation.
Is there any way I can tell SetupCapture to treat INI files the same way as any other TXT file? I only want INI files to be copied as is to the target computer, without any modification.
Answer:
When I have the same problems I usually skip WPS’s way to create the INI files and add them as a file instead. And during installation the INI file is treated like any other file and just placed where you want it.
I think if you use
var2=""
That will get around one of your problems.
