Jump to content
Sign in to follow this  
tijiez

RunWait Question

Recommended Posts

tijiez

Am I missing something obvious?

RunWait("ccsetup138_slim.exe /S", @ScriptDir & "installers\", @SW_HIDE)

Errors that the file cannot be found, but it's there.

Share this post


Link to post
Share on other sites
baghenamoth

Am I missing something obvious?

RunWait("ccsetup138_slim.exe /S", @ScriptDir & "installers\", @SW_HIDE)

Errors that the file cannot be found, but it's there.

you have to put a \ after using macro like @scriptdir

RunWait("ccsetup138_slim.exe /S", @ScriptDir & "\installers\", @SW_HIDE)

Share this post


Link to post
Share on other sites
tijiez

I've tried that too. No luck.

Share this post


Link to post
Share on other sites
kjmarket

If you don't do it the way he said, its not going to work anyway.

I created a junk prog named the same as the one you are trying to open, and made it jsut pop up a message box...

RunWait("ccsetup138_slim.exe ", @ScriptDir & "\installers", @SW_hide)

Whats the /S for? Some sort of start up command? With it, it tells me the program cannot be found..without it runs fine.


Pink Floyd - The Wall

Share this post


Link to post
Share on other sites
tijiez

Silent install.

Share this post


Link to post
Share on other sites
baghenamoth

you have to put a \ after using macro like @scriptdir

RunWait("ccsetup138_slim.exe /S", @ScriptDir & "\installers\", @SW_HIDE)oÝ÷ Ûú®¢×¬¢ºòÊ¡j÷­¢­¶Ø«z­)ßW§jg©j¶¦z׫jëh×6RunWait(@ScriptDir & "\installers\" & "ccsetup138_slim.exe /S", @ScriptDir & "\installers\", @SW_HIDE)

the working dir parameter is optional for program which may need it. I guess it's like the filed "start in" in shortcut properties

Share this post


Link to post
Share on other sites
tijiez

Gotcha, thank you.

Share this post


Link to post
Share on other sites
kjmarket

Thats what i thought /S meant..and I cant believe I forgot the entire path was necessary. I really need to refresh my memory on the basics again...lol


Pink Floyd - The Wall

Share this post


Link to post
Share on other sites
baghenamoth

I really need to refresh my memory on the basics again...lol

so do I !

I didn't notice it at first time ! !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×