Adamstuff Posted June 7, 2005 Share Posted June 7, 2005 Hi,I am doing an installation of an app that I would like to keep hidden as it's being executed. The @SW_HIDE function only hides one window at a time. Is there a way to keep the whole operation hidden from view, even if I've got a message window up all the time while the app is installing. Something like a "silent mode". I'd rather not have my passwords, etc.. be know to the user. Any help would be appreciated.TIA Heisenberg was probably right... Link to comment Share on other sites More sharing options...
Mosquitos Posted June 7, 2005 Share Posted June 7, 2005 $ShowTray = 1 Opt("TrayIconHide", 1) WinSetState(".....", "", @SW_HIDE The ..... is the file. Sapiente vince, rex, noli vincere ferro! Link to comment Share on other sites More sharing options...
Adamstuff Posted June 8, 2005 Author Share Posted June 8, 2005 $ShowTray = 1 Opt("TrayIconHide", 1) WinSetState(".....", "", @SW_HIDEThe ..... is the file.<{POST_SNAPBACK}>Mosquito,This function is good, but it only hides a window, not the app. I'm looking for a way to put up a message box that says WAIT. Nothing else should be visible. It should stay up until the app running in background is complete, and then a new message box pops up that says, DONE.This is easy to do in KIXtart, (the only thing) with a -s after the exe, but I don't see anything like that in AutoIt.Am I asking for too much? Heisenberg was probably right... Link to comment Share on other sites More sharing options...
JSThePatriot Posted June 8, 2005 Share Posted June 8, 2005 No you arent asking for too much. You would have to do a search for all window titles. I think there is a UDF made for that some where. (Search the forum in scripts and scraps for Window Title Search.) You could then check to make sure only the window you want visible (your GUI or MsgBox) is visible. Just some thoughts. It can be done, but you have to be creative and come up with a workable solution. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
MHz Posted June 8, 2005 Share Posted June 8, 2005 This is easy to do in KIXtart, (the only thing) with a -s after the exe, but I don't see anything like that in AutoIt.Am I asking for too much? <{POST_SNAPBACK}>This is a install parameter, sent to the installer for silent install?If you wanted to install AutoIt, then you could just:Run("AutoIt-v3.1.1.exe /S")This is not a AutoIt or KIXtart thing. This is just using parameters (some call switches).You can put a SplashTextOn() after it, for display. Link to comment Share on other sites More sharing options...
FuryCell Posted June 8, 2005 Share Posted June 8, 2005 Why Not use: Run ("Install.exe","",@SW_Hide) This should run the program without showing it's windows. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
Adamstuff Posted June 9, 2005 Author Share Posted June 9, 2005 Run ("Install.exe","",@SW_Hide)SolidSnake,Here's the code I have:If Not FileExists("C:\Program Files\App1\app1.exe") Then Run("\\MyServer\Appinstalls\MyApps\client_setup.exe", "", @SW_HIDE)Doesn't hide anything. I've discovered that I really have to compensate for some of the things I try to by changing directories first and still using complete path,etc.. Could there be something else missing? (Duh!) Heisenberg was probably right... Link to comment Share on other sites More sharing options...
FuryCell Posted June 9, 2005 Share Posted June 9, 2005 (edited) SolidSnake,Here's the code I have:If Not FileExists("C:\Program Files\App1\app1.exe") Then Run("\\MyServer\Appinstalls\MyApps\client_setup.exe", "", @SW_HIDE)Doesn't hide anything. I've discovered that I really have to compensate for some of the things I try to by changing directories first and still using complete path,etc.. Could there be something else missing? (Duh!)<{POST_SNAPBACK}>Thats odd. Maybe it is one of those apps that don't follow the standard rules for its GUIs.If it is then you would have to hide each window as it appears. Edited June 9, 2005 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. 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