Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
x-Shadow-x

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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

"Opera installer.msi" /qn MULTI_USER_SETTING=0 CREATE_STARTMENU_ICONS=1 CREATE_DESKTOP_ICON=1

Hmmmmmmmmmmmmm You are going through an awefull lot of trouble there...

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Well I just tryed for the beta and it isnt. And I want the beta. :wacko:

Sorry if im asking for alot.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...