All MSI packages are cached my Windows.  See: C:\WINDOWS\Installer


-----Original Message-----
From: Andrew Lee [mailto:a...@solarflare.com] 
Sent: January 22, 2009 07:39
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] How do setup bootstrappers avoid prompts for media when
changing or repairing an existing installation

I am using a (custom written) setup bootstrapper with an embedded MSI 
package, the bootstrapper extracts the MSI package to a temporary 
directory, performs the installation and then deletes the temporary 
directory.  When later via Add/Remove Programs I try to add extra 
features or sometimes during a repair the Windows Installer prompts for 
the media with "The feature you are trying to use is on a network 
resource that is unavailable".  Unfortnuately as the MSI package is 
embedded inside my setup bootstrapper I can't provide a valid path to 
Windows Installer at this point.

One potential solution is to mark the package so that Add/Remove 
Programs only offers a remove/uninstall option, but if possible I'd 
prefer to keep the change/modify and repair options.  In trying to 
resolve this I have subsequently read that Windows Installer caches MSI 
packages with any embedded files and cabinets stripped out.

   1. Can the MSI package be marked in some way so that the complete MSI
      file (under 5 MBs in my case) is cached by Windows Installer?
   2. Can my setup bootstrapper call some MSI API to make Windows
      Installer cache the complete package?
   3. Should my setup bootstrapper copy the MSI package to a permanent
      location on the local computer and perform the installation from
      there?
      If so can I prevent the Windows Installer doing it's own caching
      since the MSI package will always be available on the local computer?

I would obviously prefer option 1 or 2 or any other similar option that 
prevents my setup bootstrapper effectively maintaining an MSI cache of 
its own.  How do you setup bootstrappers, in general, avoid this issue?

Best regards,


Andrew

-- 
Andrew Lee                  Solarflare Communications
mailto:a...@solarflare.com  http://www.solarflare.com/

----------------------------------------------------------------------------
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to