Page 1 of 1
Variable not defined: $DOLLAR$
Posted: Thu Jul 01, 2010 3:24 am
by andreas_a
Hi,
I'm having problems building an IstallAware project with the miabuild.exe console application. When building the project in the gui everything works fine but when trying to build with the console application it fails with the following error:
Source File : HMS
Line Number : 777
Compile Error: Variable not defined: $DOLLAR$
When looking in the HMS project file I have the following on line 777:
"Set Variable resumeAfterReboot to FALSE"
Re: Variable not defined: $DOLLAR$
Posted: Thu Jul 01, 2010 5:25 am
by MichaelNesmith
What version?
Got a short reproducing script?
Re: Variable not defined: $DOLLAR$
Posted: Thu Jul 01, 2010 7:27 am
by andreas_a
InstallAware 9 R2
label: Restart computer
Comment: Starta om datorn (tar parametrar REBOOTCOMPUTER, resumeAfterReboot, SILENT, REMOVE)
if Variable SUCCESS Equals REBOOT
Set Variable resumeAfterReboot to FALSE
Include Script: RebootComputer
end
It's the "Set Variable resumeAfterReboot to FALSE" that it's complaining about..
/Andreas
Re: Variable not defined: $DOLLAR$
Posted: Thu Jul 01, 2010 4:37 pm
by MichaelNesmith
Can you attach the project that reproduces this - just the minimum fragment necessary?
Re: Variable not defined: $DOLLAR$
Posted: Fri Jul 02, 2010 2:30 am
by andreas_a
I've attached the mia file.
Thanks!
/Andreas
Re: Variable not defined: $DOLLAR$
Posted: Fri Jul 02, 2010 3:25 am
by MichaelNesmith
This is the TXT file, its not helpful. We need the actual script file - MIA - and not the full file, because we won't be able to build it due to missing files. Just trim the script down to the minimum size possible to illustrate the issue and provide the MIA script.
Re: Variable not defined: $DOLLAR$
Posted: Fri Jul 02, 2010 7:50 am
by andreas_a
Here's a part of the script.
/Andreas
Re: Variable not defined: $DOLLAR$
Posted: Fri Jul 02, 2010 7:55 am
by andreas_a
Had to rename the file..
Re: Variable not defined: $DOLLAR$
Posted: Fri Jul 02, 2010 6:40 pm
by MichaelNesmith
---------------------------
Compile Error
---------------------------
Include script TerminateInstallation not part of project
---------------------------
OK
---------------------------