Hi
I am getting the below error when i compile the script.

"You have referenced the variable <variable name>. This varibale has not been previously defined."

Please somebody review the below script. Please copy the script into notepad and change the extension .txt to .wse. Any help would be appreciated. Thanks.


Document Type: WSE
item: Global
Version=9.02
Flags=00000100
Split=1420
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Copy Default=1
Japanese Font Name=MS Gothic
Japanese Font Size=9
Start Gradient=0 0 255
End Gradient=0 0 0
Windows Flags=00000100000000010010110000001000
Message Font=MS Sans Serif
Font Size=8
Disk Filename=SETUP
Patch Flags=0000000000000001
Patch Threshold=85
Patch Memory=4000
MIF PDF Version=1.0
MIF SMS Version=2.0
FTP Cluster Size=20
Per-User Version ID=1
Dialogs Version=9
Crystal Format=10111100101100000010001001001001
Crystal Destination=00000000000000000000000000001011
WamDB Index=Y:\
Step View=&Properties
Variable Name1=_INIT_WINDOW_
Variable Default1=HIDE
Variable Flags1=00001000
Variable Name2=_SYS_
Variable Default2=C:\WINDOWS\system32
Variable Flags2=00001000
Variable Name3=_WIN_
Variable Default3=C:\WINDOWS
Variable Flags3=00001000
Variable Name4=_WISE_
Variable Default4=C:\Program Files\Altiris\Wise Package Studio\WiseScript Editor
Variable Flags4=00001000
end
item: Check Disk Space
end
item: Set Variable
Variable=MSI
Value=%TEMP%\SetupAcrobatPlugIn.msi
end
item: Set Variable
Variable=MST
Value=%TEMP%\Lowry-Adobe_Acrobat_Content_Manager_Addin_v1.12.146.Mst
end
item: Install File
Source=.\SetupAcrobatPlugIn.msi
Destination=%TEMP%\SetupAcrobatPlugIn.msi
Flags=0000000010100010
end
item: Install File
Source=.\Lowry-Adobe_Acrobat_Content_Manager_Addin_v1.12.146.Mst
Destination=%TEMP%\Lowry-Adobe_Acrobat_Content_Manager_Addin_v1.12.146.Mst
Flags=0000000010100010
end
item: Execute Program
Pathname=%sys32%\msiexec.exe
Command Line= /i %MSI% TRANSFORMS= %MST% / l*v "C:\DPSG\Logs\install.log" /qb
Flags=00000010
end

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
There is a space after MSI<space> in set variable command of MSI

item: Set Variable
Variable=MSI
Value=%TEMP%\SetupAcrobatPlugIn.msi
end

delete the space and compile it should run.
Answered 11/03/2010 by: sunny07
Senior Yellow Belt

Please log in to comment
0
Thank you sunny, Its working.
Answered 11/03/2010 by: reethu005
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity