May 18, 200818 yr 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, 200818 yr by x-Shadow-x
May 19, 200818 yr 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.
May 20, 200818 yr Author Ok, one more question. How do I use an autoit script? Sorry im kinda new to this.
May 20, 200818 yr 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.
May 20, 200818 yr Author 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, 200818 yr by x-Shadow-x
May 23, 200818 yr "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...
May 27, 200818 yr 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, 200818 yr by Kelsenellenelvian
May 27, 200818 yr Author Well I just tryed for the beta and it isnt. And I want the beta. Sorry if im asking for alot.
Create an account or sign in to comment