Variable not defined: $DOLLAR$

Got a problem you cannot solve? Try here.
Post Reply
andreas_a
Posts: 8
Joined: Thu Jul 01, 2010 3:10 am

Variable not defined: $DOLLAR$

Post 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"
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Variable not defined: $DOLLAR$

Post by MichaelNesmith »

What version?

Got a short reproducing script?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
andreas_a
Posts: 8
Joined: Thu Jul 01, 2010 3:10 am

Re: Variable not defined: $DOLLAR$

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Variable not defined: $DOLLAR$

Post by MichaelNesmith »

Can you attach the project that reproduces this - just the minimum fragment necessary?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
andreas_a
Posts: 8
Joined: Thu Jul 01, 2010 3:10 am

Re: Variable not defined: $DOLLAR$

Post by andreas_a »

I've attached the mia file.

Thanks!

/Andreas
Attachments
HMS.txt
(36.11 KiB) Downloaded 554 times
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Variable not defined: $DOLLAR$

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
andreas_a
Posts: 8
Joined: Thu Jul 01, 2010 3:10 am

Re: Variable not defined: $DOLLAR$

Post by andreas_a »

Here's a part of the script.

/Andreas
andreas_a
Posts: 8
Joined: Thu Jul 01, 2010 3:10 am

Re: Variable not defined: $DOLLAR$

Post by andreas_a »

Had to rename the file..
Attachments
HMS.mia.txt
(9.3 KiB) Downloaded 619 times
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Variable not defined: $DOLLAR$

Post by MichaelNesmith »

---------------------------
Compile Error
---------------------------
Include script TerminateInstallation not part of project
---------------------------
OK
---------------------------
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply