Sign in to follow this  
Followers 0
Judy

why can't run .exe file on the intranet?

7 posts in this topic

i am trying to run a .exe file on local intranet with the following code:

RunWait($name, $file_path)

and I got a window asking me to configure XP. Can't figure out what is the problem. :whistle:

Share this post


Link to post
Share on other sites



What's the filename of the executable you're trying to run?

-S


(Yet Another) ExcelCOM UDF"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly...[indent]...specialization is for insects." - R. A. Heinlein[/indent]

Share this post


Link to post
Share on other sites

What's the filename of the executable you're trying to run?

-S

it's Setup.exe

Share this post


Link to post
Share on other sites

Does Running Setup.exe from local directory work?

Share this post


Link to post
Share on other sites

Does Running Setup.exe from local directory work?

No. Neither lacal dicrectory nor the intranet works.

I tryied add another line and the pop-up window disappeared. But still doesn't work at all. Error info said neither bad username or the password(I am sure I used the corrcect domain name , username, password)

RunAsSet()

Run($name, $file_path)

Share this post


Link to post
Share on other sites

Okay. "Setup.exe" is a pretty generic name...

...what is it, if you don't mind me asking? What is your script trying to install?

-S


(Yet Another) ExcelCOM UDF"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly...[indent]...specialization is for insects." - R. A. Heinlein[/indent]

Share this post


Link to post
Share on other sites

You should specify the entire path to the file in the first parameter, and not in the second.

What happens now is that the file is not found in the script's @WorkingDir, but instead a file

with the same name in the system32-folder is started, which shows a messagebox as seen

on the picture.

Do something like this instead :

RunWait("\\helge\install\setup.exe")

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  
Followers 0