cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ridch01
Level 5

executing visual basic script

I'm not sure what I'm doing wrong. I have a post-install action defined that is intended to create a user. I wrote a vb script that takes care of creating the user (and works fine when I run it from the command line outside of IA2008).
I'm trying to launch "cscript $USER_INSTALL_DIR$\config\createuser.vbs username userpassword". I'm not sure what is happening - but when the install completes, I do not have my user created. I don't think the vbscript is ever executed (I added trace message to output to a text file if it's hit - never see this).

My other post install tasks execute correctly. However, they are all calling executables and not a vbscript.

Any ideas on this? I also tried sticking the commands in a bat file and calling it. It is not working for me either.
Labels (1)
0 Kudos
(1) Reply
ridch01
Level 5

I figured this out. The directory my vb script existed in had embedded spaces. I had to quote $USER_INSTALL_DIR$ before calling it.
0 Kudos