MSFN Forums: Cant get MSI files to install - MSFN Forums

Jump to content


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

Cant get MSI files to install Rate Topic: -----

#1 User is offline   GrimSage 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 23-November 03

Posted 09 May 2004 - 02:37 PM

I am having a problem getting msi packages to install correctly. if it is an exe it works fine butas for msi packages it will not work.
Also I was wondering how I get it to work durring the install rather than on first boot. I tried putting it in
[SetupParams]
UserExecute="%SystemDrive%\Install\XPlode.exe"
but it just runs though not doing anything
here is my xml file

<XPlode>
	<config>
  <hidewindow>Windows Update</hidewindow>
  <hidewindow>CMD.EXe</hidewindow>
  <show 
 	 total='6'
 	 after='2'
 	 subcount='true' 
  />
  
  <!-- make antialiasing false if you're running GUIinstall mode -->
  <font 
 	 face='Tahoma' 
 	 antialias='false' 
 	 small='8' 
 	 large='12'
  />
  
  <!-- note the position attribute - it is listed in 'x,y' positions. -->
  <!-- 0..8 still may be used. -->
  <window 
 	 width='440' 
 	 position='8' 
 	 fixmain='0' 
  />
  
  <!-- can be standalone, guitransparent, or guiredraw -->
  <!-- for the latter two, you don't need to specify background colours, or images. -->
  <windowmode 
 	 mode='standalone'
  />
  <colours>
 	 <header 
    back='#003399' 
    fore='#FFFFFF' 
    image='%XPLODE%\images\head.png' 
 	 />
 	 <footer 
    back='#003399' 
    fore='#FFFFFF' 
    image='%XPLODE%\images\foot.png' 
 	 />
 	 <progress 
    border='#FFFFFF' 
    back='#00000000' 
    fore='#FFFFFFAA' 
    fore2='#00000033' 
 	 />	
 	 <main 
    back='#0000FF' 
    fore='#000000' 
    current='#FFFFff' 
    description='#FFFFFF' 
    image='%XPLODE%\main.png' 
    overlay='#FFFFFF87'
 	 />
  </colours>

  <strings>
 	 <!-- main XPlode string -->
 	 <title>Post-Install Configuration</title>
 	 <complete>complete</complete>
 	 <!-- adduser plugin strings -->
 	 <adduser>Adding user #1#</adduser>
 	 <addusertogroup>Adding user #1# to group #2#</addusertogroup>
 	 <addgroup>Adding group #1#</addgroup>    
 	 <!-- file/dir ops plugin strings -->
 	 <copy>Copying #1# (#2#/#3# - #4#)</copy>
 	 <move>Moving #1# (#2#/#3# - #4#)</move>
 	 <delete>Deleting #1# (#3#)</delete>
 	 <!-- shortcut plugin -->
 	 <shortcut>Adding shortcut: #1#</shortcut> 	 
  </strings>
	</config>
	<items>
  <item display='Adding users and groups...'>
 	 <!-- note the different use of quotes due to the data held in them -->
 	 <adduser 
    username='Me'
    password='pass'
    groups='Administrators'
    fullname=''
    comment="Don't mess with the best!"
 	 />
  </item>
  <item display='Registry Tweaks'>
 	 <execute 
    display='Applying tweaks...' 
    program='regedit' 
    arguments='/s "%SYSTEMDRIVE%\Install\RegTweak.reg"'
    username='Me'
    password='pass'
    />
  </item>
  <item display='WinRAR Plus 3.3...'>
 	 <execute 
    display='Installing...' 
    program='%systemdrive%\install\Applications\wrar330.exe' 
    arguments='/s'
    username='Me'
    password='pass'
    />
  </item>    
  <item display='Office 2003...'>
 	 <execute
    Display='Extracting Archive...'
    program='%systemdrive%\install\Applications\Office2003.exe'
    arguments=''
    username='Me'
    password='pass'
 	 />
 	 <execute
    Display='Installing...'
    program='%systemdrive%\install\Applications\Office2003\setup.exe'
    arguments='TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.
MST /qb-'
    username='Me'
    password='pass'
 	 />
  </item>
  <item display='TweakUI'>
 	 <execute 
    display='Installing...' 
    program='%systemdrive%\install\Applications\TweakUI.msi' 
    arguments='/qb'
    username='Me'
    password='pass'
    />
  </item>  <item display='Symantec AntiVirus Corp v9.0.0.338'>
 	 <execute 
    display='Installing...' 
    program='%systemdrive%\install\Applications\sav\sav.msi' 
    arguments='/qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS'
    username='Me'
    password='pass'
    />
  </item>  <item display='Google Toolbar'>
 	 <!-- note the username and password - it will run under the user 'Spike', using the account password -->
 	 <execute 
    display='Installing...' 
    program='%systemdrive%\Install\Applications\GoogleToolbarInstaller.exe' 
    arguments='/qn'
    username='Me'
    password='pass'
    />
  </item>
	</items>
</XPlode>


Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -

#2 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 09 May 2004 - 02:46 PM

<item display='TweakUI'>
  <execute 
   display='Installing...' 
   program='%systemdrive%\install\Applications\TweakUI.msi' 
   arguments='/qb'
   username='Me'
   password='pass'
   />

should be
<item display='TweakUI'>
  <execute 
   display='Installing...' 
   program='msiexec' 
   arguments='/i %systemdrive%\install\Applications\TweakUI.msi /qb'
   username='Me'
   password='pass'
   />
and same thing for norton.

I would like to be able to install things at t-9 (from the winnt.sif's [SetupParams]) but things are weird their... You could install evertyhing at t-12 from cmdlines.txt. Look on the forum to the technic.

I'm trying actually to figure a way to install things at t-9, but I don't have many hopes... If somebody's has an idea...

#3 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 09 May 2004 - 08:03 PM

hi,

or this is also working:
<execute display='Installing Smart FTP Client 980.3...'  program='#xplode#\Applications\sftp\SmartFTP.msi' arguments='/qn Reboot=Suppress'></execute>


hope this helps a bit

cya

Killer Bee

@big_gie

i have installed a lot of progs during T-9 . what problems do u have?

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Icon
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03
  • Location:Dallas, Texas

Posted 09 May 2004 - 08:10 PM

killerbee's works because it doesn't use a seperate user to install it from.

If you use an alternate user to install it (with the username and password arguments) you have to use the path to the program that actually executes it, in this case msiexec.exe

#5 User is offline   GrimSage 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 23-November 03

Posted 09 May 2004 - 09:44 PM

so if I took the user and password off it would work correctly?
Could this possibly be why the t-9 installation does not work correctly?

#6 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Icon
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03
  • Location:Dallas, Texas

Posted 09 May 2004 - 10:04 PM

if you took it out, your line would work correctly, if the user has Admin priveleges.

I dunno about the T-9 problem.

#7 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 10 May 2004 - 06:48 AM

hi,

@ T-9 the default user hive isn't loaded anymore. So not all registry setttings are applied maybe this is the problem. I can recommend T-13 and T-12 to install without problems. Especially Regtweaks will make problems when applied at T-9.

hope this helps a bit

cya

Killer Bee

#8 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 10 May 2004 - 03:18 PM

@killerbee
Programs doesnt install correctly + all the reg tweaks are not applyed.
Have you found a way for the registry hive @ t-9? I would REALLY like seing this... as I could launch different xml config via multiple winnt.sif file (I use 4 now, 2 computers with 2 config each). I actually use the t-12 method (cmdlines.txt) and a .js file that check computer name and calls xplode with different .xml files...

thanx

#9 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 10 May 2004 - 08:15 PM

@big_gie

hmmm, haven't i read a post about this? I think i need to use Search a little bit...
I'll report back with a link :D :D

cya

Killer Bee

#10 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 10 May 2004 - 08:22 PM

hmmm,

i found the post but there was no solution to this so u can only apply HKLM-keys @T-9 you need to import HKCU @T-13 or T-12-mark.
What problems do you have in installing apps? i have installed many apps there and never had any problem, can you be a little bit more specific which probs there are?
Also i think there is no need in using a username while installing apps, this could also be explained

more help available...

cya

Killer Bee

#11 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 12 May 2004 - 06:03 PM

I get some weird things with some programs. I have the my program files folder pointing to D:\ instead of c:\program files, so when installing things, the setup always propose me to install to D:\<app name>. But when installing programs at t-9, some creates empty folders on C:\ (Opera, outpost, others...), no reg tweaks (and I have many :D) so it is really useless.... :no:

I would really like to see it works one day!!!

#12 User is offline   GrimSage 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 23-November 03

Posted 12 May 2004 - 11:59 PM

Just to update....
I got it working. Everything except for the Office 2003 install. It starts gets really far. and then dies.
Unfortunately I cant attach the log file as it is 512k compressed from almost 20 megs. The only thing the smaller log file says is that it couldnt find pro11.xml Though if I install this in windows using the exact same command line it works.

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