/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (7)

Posted by: pjgeutjens 14 years ago
Red Belt
0
WScript.Echo "Just created " & strDirectorythis line is causing the issues. When running in an MSI you're not running inside the WScript hosting object mode. Either drop the line or just use Echo (do you really need to echo something??).
Posted by: Hussi 14 years ago
Purple Belt
0
If u need something to be displyed u ca use MsgBox

MsgBox "Just created " & strDirectory
Posted by: honeyslim 14 years ago
Senior Yellow Belt
0
Hey
Thanks a lot it's working :)

Reg
Haneef
Posted by: honeyslim 14 years ago
Senior Yellow Belt
0
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
Posted by: anonymous_9363 14 years ago
Red Belt
0
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.
Posted by: honeyslim 14 years ago
Senior Yellow Belt
0
Hi
Above your condition I tried not getting result L
While installing it’s self it’s asking P/w dialog, I put P/w it’s not moving next process
Could plz help out of this issue.
Posted by: anonymous_9363 14 years ago
Red Belt
0
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.
 
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