Bugge T. Jensen
13th June 2002 12:03 UTC
Contens of user_var
Hi
How do you get the contens of a user var.
I want to name my installation program with the build number of an exe
so i try this
Section
GetDLLVersion "c:\temp\bin\client\dssexplorer.exe" $4 $5
DetailPrint "Version $4 $5"
SectionEnd
OutFile Setup_$5.exe
But guess what. The Outfile is named exactlig as written.
(The detail print work fine ?)
Any suggestions
Smile2Me
13th June 2002 12:07 UTC
Bugge,
you cannot use user variables in (o.o.) the OutFile command. That's why it's creating a file with $5 in the name.
-Hendri.
rainwater
13th June 2002 22:37 UTC
The outfile is determined when you compile the installer. The variables are not determined until you run the installer. So as you can tell, there is no way to determine $5 when it compiles the installer.