/build/static/layout/Breadcrumb_cap_w.png

Wise script error.

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

Answers (2)

Posted by: sunny07 13 years ago
Senior Yellow Belt
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.
Posted by: reethu005 13 years ago
Orange Belt
0
Thank you sunny, Its working.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ