Jump to content

Installing Programs To Specific Dir ?


deduijk
 Share

Recommended Posts

Hi all,

It is great how many of u put time n effort in figuring out which app needs what switches, which i am gratefull for, but I do have 1 remark:

When I install applications, I always choose a different location for the files. Also I rarely choose standard options.

I hope the good list with programs and how to install can be upgraded with the options (at least the install directory switch..?) a programs has, so You can preconfigure the program a little.

I do have seen the install scripts, but i was hoping it could be done with switches...

Kind regards n keep up the good work all!

Cya,

deduijk

Link to comment
Share on other sites


Hello deduijk. :hello:

It depends on the type of installer you use. If the installer is an msi, you can easily change the installation directory. Unfortunately, not all installers are msi, and not all non-msi installers support changing installation directory.

Link to comment
Share on other sites

tnx.

And for msi files how do you do that..? :blushing: B)

Maybe I should ask it in the sticky topic where there are a lot of programs with the silent switches?, then maybe the 'moderator' of that post can maybe fill in a few allready.

I will keep searching how I can install programs into a diff directory.., any1 very welcome to help.., as i am still a newbie in this all.

CU,

deduijk

Link to comment
Share on other sites

the MSI file can also be called by MSIEXEC.EXE (located in C:\Windows\SYSTEM32\) to perform an interaction...

if u call MSIEXEC.exe INSTALLDIR="SETUP_PATH" -i "PATH_TO_YOUR_MSI_FILE" /QB

the msi installer will send the SETUP_PATH to ur MSI file...

for this case u'll have to call the *.msi file of ur setup, if u have an install shield setup that runs a MSI file u can also run the *.exe of your setup with switches: /s /v"INSTALLDIR="SETUP_PATH" /QB", then IS will send teh infos to the MSI file (so u got also the opportunity to use IS switches (like /L for choosing language....)

and if u got an IS setup u can use the -R switch to record the install, later u run the setup with the *.iss file and it'll be installed in the dir u recorded before.

Inno setups u can run with an *.inf file that has the components and location stored.

detailed info about all these u can find on the msfn guide site (determing what installer and what switches there are)

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...