flyonthewall Posted September 12, 2007 Share Posted September 12, 2007 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. Link to comment Share on other sites More sharing options...
weaponx Posted September 12, 2007 Share Posted September 12, 2007 Perhaps the program spawns a sub-process which isn't hidden be @SW_HIDE. What is the program? Link to comment Share on other sites More sharing options...
flyonthewall Posted September 12, 2007 Author Share Posted September 12, 2007 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. Link to comment Share on other sites More sharing options...
DjDeep00 Posted September 12, 2007 Share Posted September 12, 2007 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) Link to comment Share on other sites More sharing options...
weaponx Posted September 12, 2007 Share Posted September 12, 2007 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. Link to comment Share on other sites More sharing options...
logonui Posted September 12, 2007 Share Posted September 12, 2007 I assume you have tried adding the /? switch to the setup file on a command line? \\server\folder1\folder2\Disk1\Client\setup.exe /? Link to comment Share on other sites More sharing options...
flyonthewall Posted September 12, 2007 Author Share Posted September 12, 2007 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. Link to comment Share on other sites More sharing options...
flyonthewall Posted September 12, 2007 Author Share Posted September 12, 2007 I assume you have tried adding the /? switch to the setup file on a command line?\\server\folder1\folder2\Disk1\Client\setup.exe /?Not yet, but I will. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now