Jump to content

Install Location?


Recommended Posts

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 by x-Shadow-x
Link to comment
Share on other sites


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

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

Ah I never even thought of compiling it :wacko:.

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 by x-Shadow-x
Link to comment
Share on other sites

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 by Kelsenellenelvian
Link to comment
Share on other sites

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...