Hi ,
I am currently encountering an issue. I have created a custom action that is calling a vbscript and will create a database on install. I trying to pass parameters to that vbScript...I get a Object Required: Session Error. Now I am wondering , should there be a session created with the installer when you run an install??? I would like to verify with you the steps I did to create that custom action. and see if I did not do a mistake in the creation .
To test I wrote a message to see if I receive my value in my script
DATABASECONFIG3EDIT_346_PROP is the property of my text field.
MsgBox Session.Property"DATABASECONFIG3EDIT_346_PROP")
I created a UI custom action by going on add predefine Custom Action -> Launch file or open URL. In the General properties. here is what I have entered:
for Source path : <viewer.exe>
Source Type : Executable
Command Line : "[#Creatingdb.vbs]" "[DATABASECONFIG3EDIT_346_PROP]"
I added my script to the files and folder. Under Local Application Folder/Scripts
The script runs . its just that it seems to not be able to reach the session variable. What is the step I am missing to be able to see that variable from my script...
FOLLOW US
Get the latest news in Application Packaging