x-Shadow-x Posted May 18, 2008 Share Posted May 18, 2008 (edited) Well im just getting into this WPI, and im wondering, how do you make a program install to a certin location. Lets say I want FRAPS in my instalation, it goes to C:\FRAPS and I want it to go to C:\Program Files\Fraps. Is there a way to do that?Edit: Well iv been looking round the forums and it liiks like I have to use an autoit script. Am I rite?If so could someone point me in the rite direction please (tutorial) >=-D Edited May 19, 2008 by x-Shadow-x Link to comment Share on other sites More sharing options...
zorphnog Posted May 19, 2008 Share Posted May 19, 2008 It depends on what kind of installer the application uses, and how it was written. Many of the common installers will allow you to define the install location through and answer file or command line input. For more information about specific application installers, search the Application Installs forum. Link to comment Share on other sites More sharing options...
x-Shadow-x Posted May 20, 2008 Author Share Posted May 20, 2008 Ok, one more question. How do I use an autoit script? Sorry im kinda new to this. Link to comment Share on other sites More sharing options...
zorphnog Posted May 20, 2008 Share Posted May 20, 2008 What does the script do? Is it an .exe file or an .au3? If its an .au3 file then you will need to download AutoIt3 and compile the script. Its impossible to tell you how to use it if we can't actually see the script. So post it if you have it. Link to comment Share on other sites More sharing options...
x-Shadow-x Posted May 20, 2008 Author Share Posted May 20, 2008 (edited) Ah I never even thought of compiling it .Edit: Ok I now know how to use it, Thanks zorphnog.One more thing, when I run the script the instalation box pops up but it presses the buttons for me (which is what the script is suposto do), but is there a way to make it TOTALY silent (somthing like /s or /silent or /verysilent) so nothing pops up (or will nothing pop up when I put it into WPI)?just incase you need to see.Run("Opera.exe")WinWait("Opera 9","Welcome")ControlClick("Opera 9","Welcome","Button1")WinWait("Opera 9","Software License Agreement")ControlClick("Opera 9","Software License Agreement","Button1")WinWait("Opera 9","Select Installation Directory")ControlClick("Opera 9","Select Installation Directory","Button1")WinWait("Opera 9","Icon Creation")ControlSend("Opera 9","Icon Creation","Button5","{-}")ControlSend("Opera 9","Icon Creation","Button6","{-}")ControlClick("Opera 9","Icon Creation","Button1")WinWait("Opera 9","Ready to Install!")ControlClick("Opera 9","Ready to Install!","Button1")WinWait("Opera 9","Installation Completed!")ControlSend("Opera 9","Installation Completed!","Button4","{-}")ControlClick("Opera 9","Installation Completed!","Button1") Edited May 20, 2008 by x-Shadow-x Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 23, 2008 Share Posted May 23, 2008 "Opera installer.msi" /qn MULTI_USER_SETTING=0 CREATE_STARTMENU_ICONS=1 CREATE_DESKTOP_ICON=1Hmmmmmmmmmmmmm You are going through an awefull lot of trouble there... Link to comment Share on other sites More sharing options...
x-Shadow-x Posted May 25, 2008 Author Share Posted May 25, 2008 What if it isnt a msi? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 27, 2008 Share Posted May 27, 2008 (edited) Ussually you can use Universal extractor or navigate to your %temp% dir and start the installer to find the msi.Lots of .exe's are actually repackaged .MSI files....Edit: I just tried and yes it is a repackaged .msi file... Edited May 27, 2008 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
x-Shadow-x Posted May 27, 2008 Author Share Posted May 27, 2008 Well I just tryed for the beta and it isnt. And I want the beta. Sorry if im asking for alot. 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