Thanks Chris. Appreciate your prompt response.

Regards
Meera

On Thu, Feb 16, 2012 at 5:38 PM, Christopher Painter <chr...@iswix.com>wrote:

> The remember property pattern won't help you here since the password value
> is encrypted.  The best thing I can think of at the moment is to put
> conditions on the  DeleteServices and InstallServices standard action so
> that they don't fire during major upgrade.  This is a hack though because
> if you ever have a new service you won't be able to install it during an
> upgrade.
>
>
> This should allow the MSI to stop the service, replace the file and restart
> the service without actually reconfiguring the service.
>
>
> The only other thing I could think of is make them enter the service user
> name and password again.  Either that or eliminate the service account by
> using one of the built in accounts and setup delegation if needed.
>
>
> Wish I had a better answer. Maybe someone else does.
>
> ----------------------------------------
>
> From: "Meera Jindal" <meera.jin...@gmail.com>
>
> Sent: Thursday, February 16, 2012 3:34 PM
>
> To: wix-users@lists.sourceforge.net
>
> Subject: [WiX-users] WIX Service Upgrade
>
>
> Hi
>
>
> I'm working on an installer that is supposed to install a Windows service
>
> under a user account. The user account and the password for this user
>
> account is prompted in a dialog box and is passed to the ServiceInstall
>
> element in WIX. We use major upgrades to make it easy to install over a
>
> previous installation and we schedule RemoveExistingProducts phase after
>
> InstallFinalize.
>
>
> The problem is that we need to upgrade the service but we want to do it so
>
> that we can retrieve the account username and password without prompting
>
> the user for a username and password. The product which we intend to
>
> upgrade has already shipped so we cannot encrypt and store the user
> account
>
> and password during the baseline installation and use it during upgrade.
> In
>
> short, we want to upgrade without overwriting the service configuration
>
> (account username and password, for instance). Is there a mechanism in WIX
>
> via which this can be done?
>
>
> Thanks in advance.
>
>
> Regards
>
>
> Meera
>
>
> ----------------------------------------------------------------------------
> --
>
> Virtualization & Cloud Management Using Capacity Planning
>
> Cloud computing makes use of virtualization - but cloud computing
>
> also focuses on allowing computing to be delivered as a service.
>
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
> _______________________________________________
>
> WiX-users mailing list
>
> WiX-users@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to