MSFN Forum: Question about unattended software install - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Question about unattended software install Rate Topic: -----

#1 User is offline   escablue 

  • Group: Members
  • Posts: 6
  • Joined: 09-August 04

Posted 09 August 2004 - 09:13 PM

I know the default command line to install applications on the unattended CD is this:

start /wait %systemdrive%\install\some_application\setup.exe /switch /anotherswitch


However, that just installs it onto the default path, which is C:\ (I'm guessing it puts the applications into C:\Program Files ??). Is there any way to change the install path? I like to install all my applications into D:\Program Files instead of C:\ (I keep the C:\ only for the operating system).

Is it as simple as substituting "D:\" wherever I see %systemdrive% ??

Thanks in advance!


#2 User is offline   [BM]Crusher 

  • Got milk?
  • PipPipPipPip
  • Group: Members
  • Posts: 570
  • Joined: 05-April 04

Posted 09 August 2004 - 09:31 PM

Quote

start /wait %systemdrive%\install\some_application\setup.exe /switch /anotherswitch


the %systemdrive% you are referring to is where the installation is... it has nothing to do with where it gets installed to....

if it is an installshield installer and you have created an ISS file, just edit that file and change the installation path... otherwise some programs will let you specify an installation directory as a switch, but it depends on the program and the installer

#3 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 10 August 2004 - 01:14 AM

I recall there's a couple of threads on Application Switches forum on how to populate D: (or whatever) as your system drive. Search for them.

#4 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 10 August 2004 - 01:53 AM

add this to yyour winnt.sif
[Unattended]
   ProgramFilesDir="d:\Program Files" 
   CommonProgramFilesDir="d:\Program Files\Common"

[GuiUnattended]
   ProfilesDir="d:\Documents and Settings"


#5 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 10 August 2004 - 02:11 AM

Yes! This is one of the solutions.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy