If youre concerned about further validating the email addresses you get, there is a great deal written about using regular expressions to validate email addresses. As mentioned below the error isĪny idea what will be the configuration, I may have missed in creating my own project shmilar to test.aip. You can simplify that last ElseIf like this: ElseIf InStr(REVIEWEREMAIL, '', vbTextCompare) 0 Then Because as written, youre solely checking if there is a in the email address provided. f=2&t=9945, i am able to run the script.vbs file successfully.īut when i create my own project (as discussed below) and try to run, the libs.txt file is created, but in the scripts.vbs, the line Set objFSO = CreateObject("Scripting.FileSystemObject") is not able to run. Now the only problem is that, in the sample application test.aip given in the url (as mentioned below). The below issue is resoved and the libs.txt is getting created in the temp folder and all the path entries are getting created. I am in a critical requirement, where the above error is the blocker for me.
The above content I have added is per the steps in the URL: Custom action script.vbs script error -2146828283, Microsoft VBScript runtime error: Invalid procedure call or argument Line 11, Column 1, Contact your support personnel or package vendor.
A script required for this install to complete could not be run. There is a problem with this Windows Installer package. MSI (s) (94:C8) : Product: Your Application - Error 1720.
MSI (s) (94:AC) : Executing op: CustomActionSchedule(Action=script.vbs,ActionType=1030,Source='Holds the path of the directoryĮrror 1720. When I tried to run this project, it created the. Set objFile = objFSO.OpenTextFile(directoryListing, ForReading)Ĭlasspath = classpath & " " & objFile.ReadLine Set objFSO = CreateObject("Scripting.FileSystemObject")
Source Type: Dynamic linked library (*.dll)Īction Data: >cmd /c del "libs.txt"Īnd the source code for "script.vbs" file isĭirectoryListing = Session.Property("CustomActionData") The "CreateExeProcess_dir" General Properties (in right frame) is as follows In that I have created 2 "custom actions "CreateExeProcess_dir" and "script.vbs" under Install Execution Stage -> Preparing. I have the trial version of AdvancedInstaller9.8.