Getting Error 1720
Hi,
I am getting below error while adding VBscript in wise studio 5.1
Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor
below script i am using could you plz any one help me
Option Explicit
Dim objFSO, objFolder, strDirectory
strDirectory = "c:\logs"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.CreateFolder(strDirectory)
WScript.Echo "Just created " & strDirectory
Reg
Haneef
I am getting below error while adding VBscript in wise studio 5.1
Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor
below script i am using could you plz any one help me
Option Explicit
Dim objFSO, objFolder, strDirectory
strDirectory = "c:\logs"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.CreateFolder(strDirectory)
WScript.Echo "Just created " & strDirectory
Reg
Haneef
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
Posted by:
Hussi
14 years ago
Posted by:
honeyslim
14 years ago
Scenario Like this - when user will try to uninstall app from Add/Remove programs P/w should promote to user.
for that i create a Dialog and set condition as below but it’s not working :(
in Wise Package 5.1
Event : NewDialog
Argument ; Select_Feature_Dialog
Condition – MaintenanceMode =â€ÂModifyâ€ÂAND PASSWORD = "fd@123â€Â
can you please help me
for that i create a Dialog and set condition as below but it’s not working :(
in Wise Package 5.1
Event : NewDialog
Argument ; Select_Feature_Dialog
Condition – MaintenanceMode =â€ÂModifyâ€ÂAND PASSWORD = "fd@123â€Â
can you please help me
Posted by:
anonymous_9363
14 years ago
For one, uninstalling doesn't qualify as maintenance. Try:
Condition – REMOVE ~=â€ÂALL" AND PASSWORD = "fd@123â€Â
The '~' character in front of the 'equals' sign indicates to the engine that the case of the word can be ignored. Thus setting the REMOVE property to "all", "ALL", "aLl" and so on would be accepted. Without it, the property's value would have to exactly match your test.I haven't applied the same to the PASSWORD property because you may want to test its value more thoroughly.
Condition – REMOVE ~=â€ÂALL" AND PASSWORD = "fd@123â€Â
The '~' character in front of the 'equals' sign indicates to the engine that the case of the word can be ignored. Thus setting the REMOVE property to "all", "ALL", "aLl" and so on would be accepted. Without it, the property's value would have to exactly match your test.I haven't applied the same to the PASSWORD property because you may want to test its value more thoroughly.
Posted by:
honeyslim
14 years ago
Posted by:
anonymous_9363
14 years ago
Firstly, this is your dialog, not a standard one:
i create a DialogSecondly, the condition is testing a) for uninstall, whereas you're now saying that you are seeing a password prompt when installing and b) there must be a password dialog somewhere which populates the PASSWORD property. Clearly, the testing that THAT dialog is doing isn't being satisfied and thus the dialog is re-displayed.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.