He doesn't seem to care about using standard Windows Installer or even
WiX functionality Rob.
A direct quote:

"our experience is that Windows Installer works if it is done perfectly
and in the correct order.  our code is defensive and deals with installs
and uninstalls that failed in the middle.  in addition we also deal with
terminating the app.  the original reason for the custom action is the
difficulty we encountered when trying to deal with installing and
uninstalling a service.  despite much reading, much searching, and much
experimentation Windows Installer would never work for us.  so we
created our own solution."

All of which Windows Installer and/or WiX do perfectly well (rollback
you say? What is this rollback?).

Some people are always trying to ice skate uphill.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 01 July 2010 22:57
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows 7 Custom Action Registry problem

It seems so wrong to spend so much time trying to get a registry key
when the Windows Installer will do it all for you plus handle rollback.


On Thu, Jul 1, 2010 at 1:59 PM, Kurt Jensen
<kurt.jen...@ophir-spiricon.com>wrote:

> Thanks!
>
> I think the real problem is that the CA is being launched as a 32-bit 
> process (of course).  now that I know the problem I have modified my 
> application code to first look in the "normal" part of the registry, 
> then look in Wow6432Node if the key is not found.  that way it works 
> on a 32-bit OS, on a 64-bit OS when the CA runs as a 32-bit process, 
> and will continue to work if the CA some day starts running as a
64-bit process.
>
> thanks again for all the stimulation!
>
> -----Original Message-----
> From: i...@roadrunner.com [mailto:i...@roadrunner.com]
> Sent: Thursday, July 01, 2010 2:45 PM
> To: General discussion for Windows Installer XML toolset.
> Cc: Kurt Jensen
> Subject: Re: [WiX-users] Windows 7 Custom Action Registry problem
>
> Here's one example how to do it with P/Invoke:
> http://www.roelvanlisdonk.nl/?p=915
>
> ---- Kurt Jensen <kurt.jen...@ophir-spiricon.com> wrote:
> > That's it!
> >
> > So far I cannot find an equivalent in .NET but at least now I can 
> > track
> down the communication breakdown...
> >
> > Thanks to all!
> >
> >
> > -----Original Message-----
> > From: i...@roadrunner.com [mailto:i...@roadrunner.com]
> > Sent: Thursday, July 01, 2010 11:23 AM
> > To: General discussion for Windows Installer XML toolset.
> > Cc: Kurt Jensen
> > Subject: Re: [WiX-users] Windows 7 Custom Action Registry problem
> >
> > > also, this solution was developed by another less install oriented

> > > programmer for the original vsproj under VS2008.  I moved the code

> > > as-is over to WiX on a 32-bit install and it worked.  now we are 
> > > adding a 64-bit install.  if I change to having Windows Installer 
> > > do the job then I really am reinventing the wheel from our
perspective.
> >
> > Maybe your keys get redirected? Check
> HKLM\SOFTWARE\Wow6432Node\Spiricon\Version5. Maybe your values are
there.
> > If so, you need to add KEY_WOW64_64KEY to RegOpenKey (or whatever 
> > the
> .NET equivalent is).
> >
> > ********************************************************************
> > ** This email and any files transmitted with it are confidential and

> > intended solely for the use of the individual or entity to whom they

> > are addressed. If you have received this email in error please 
> > notify the system manager.
> >
> > This footnote also confirms that this email message has been swept 
> > by MIMEsweeper for the presence of computer viruses.
> >
> > www.clearswift.com
> > *************************************************************
>
------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint What will you do first with
EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to