Forwarding to the list as it was accidentally removed from the TO line.

> -----Original Message-----
> From: i...@roadrunner.com [mailto:i...@roadrunner.com]
> Sent: Friday, June 18, 2010 11:47 AM
> To: Castro, Edwin G. (Hillsboro)
> Subject: RE: [WiX-users] Can this be done with WiX?
> 
> > > I compile 2 MSI files and package them
> > > in a bootstrapper EXE. The EXE extracts the right MSI into the Temp
> > > folder and runs it. The problem is that the Repair action looks for
> > > that MSI but it's long gone. It doesn't help that I'm creating a
> unique
> > > temp file name, so even when the MSI exists, it will have a new
> name,
> > > so Repair can't recognize it. Is there a better solution?
> >
> > Windows Installer caches a copy of your MSI but it strips out any
> embedded cabinets. You'll need the original source for repairs. I'll
> let somebody with more knowledge provide advice.
> >
> > I have heard mentioned that Windows Installer requires that the MSI
> package filename does not change (probably for Repair scenarios). You
> may want to make sure the bootstrapper EXE extracts the MSI packages
> using consistent naming every time.
> 
> Can somebody that has done this before explain what is the right way to
> use a bootstrapper with Repair? Should I extract the MSI to a permanent
> location instead of the temp folder? If so, what is the recommended
> location and how to deal with upgrading from one version to the next
> (do the MSI files need to have different names for each version)?
> BTW, I expect Add/Remove features to have the same problem.
> 
> > You should be able to set the impersonation appropriately to launch
> your exe as the user.
> 
> Are you sure WiX can do this? When I was searching for a solution
> before I came across this:
> http://stackoverflow.com/questions/2206646/create-a-process-with-
> ordinary-rights-from-an-administrator-process
> Basically people say that it can be done through the scheduler service
> (which may be disabled), through piggybacking on Explorer (which may
> not be running) or some other hacky way. Because of the hacky nature of
> the solutions I am concerned if WiX has found a good way to do this.
> 
> 
> Thanks for your help. Other than the 2 questions above, looks like WiX
> can do everything I need so I will give it a shot.
> 
> Ivo
> 
> P.S. Is there a good forum that discusses MSI issues? I am pretty new
> to this and I don't want to bother the WiX community with noobish
> installer questions.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to