Jump to content
Sign in to follow this  
fcjoe

Runwait() not working on Windows 7

Recommended Posts

fcjoe

Hello,

I'm having a problem with Runwait on Windows 7. The following line works fine on XP with no problems but on 7 it does nothing.

RunWait("\\servername\sharename\DS Software\Microsoft\Office\2010\setup.exe")

I got the return code, which was 0 and @error only returned 1 which isn't very usefull.

Is there some known problem with Windows 7 and runwait function?

Thanks,

Joe

Share this post


Link to post
Share on other sites
JiBe

Hi,

Have you tested as Admin?

# RequireAdmin

or

RunAsWait($sUserName,_@ComputerName,_$sPassword,_0,_"\\servername\sharename\DS_Software\Microsoft\Office\2010\setup.exe")

excuse my English, I am French.

JeanPhile.

Share this post


Link to post
Share on other sites
fcjoe

Hi, Have you tested as Admin? # RequireAdmin or RunAsWait($sUserName,_@ComputerName,_$sPassword,_0,_"\\servername\sharename\DS_Software\Microsoft\Office\2010\setup.exe") excuse my English, I am French. JeanPhile.

I didn't know about #RequireAdmin, we only recently started deploying Windows 7.

Thanks, Joe

Share this post


Link to post
Share on other sites
JiBe

I didn't know about #RequireAdmin, we only recently started deploying Windows 7.

Thanks, Joe

Super, good deployment

JeanPhile

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.