Jump to content

Recommended Posts

Posted

Right now I'm running the following code, but it is not silent.

Run('\\server\folder1\folder2\Disk1\Client\setup.exe')

Unfortunately I do not have .msi files for most of the software install, and I could not get @SW_HIDE to work.

Thank you for any input.

Posted

Perhaps the program spawns a sub-process which isn't hidden be @SW_HIDE. What is the program?

Thanks for the quick reply.

It is Sage 7.05 (ERP Software).

I can post the entire code if you like.

Posted

Something like this?

$File_Loc="\\server\folder1\folder2\Disk1\Client\"

$File="\\server\folder1\folder2\Disk1\Client\setup.exe'"

Run(@ComSpec & " /c FC /C " & FileGetShortName($File) ,$File_Loc, @SW_HIDE)

Posted

I doubt there is any public documentation for this software. I tried finding something on their website without much luck. Do you know the type of installer used?

You may have to end up using keyboard / mouse automation if there are no command line options for the installer.

Posted

I doubt there is any public documentation for this software. I tried finding something on their website without much luck. Do you know the type of installer used?

You may have to end up using keyboard / mouse automation if there are no command line options for the installer.

We do have some of their documentation, and it does show how to run a silent install (Msiexec.exe /i MSIfile Property=Value /qn), but the problem comes w/service packs, and updates that are in .exe format.

I have the install all ready to go for this Sat., using simulated keystrokes:

WinWaitActive ("Sage MAS 500 Client Setup", "Welcome to the Sage MAS 500 Client Setup Wizard")
Sleep (3000)
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "License Agreement")
Sleep (2000)
Send ("{UP}")
Sleep (1000)
Send ("!n")

We had to change the "Stand By Settings" in Group Policy so the install will run when we push the package out to users, but still wanted to try a silent on .exe's.

Thank you all for your help.

Have a great day.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...