It looks like your repair/minor upgrade is replacing the good values 
with blanks. Which makes sense. The verbose log file should show you the 
value for those properties. If you don't remember them they'll be lost.

Fiorillo Nicola wrote:
> Dear all,
> In my wix configuration file I install a windows service given account 
> information through the GUI and filling some properties (SERVICE_DOMAIN, 
> SERVICE_USERNAME, and SERVICE_PASSWORD). Here the snippet:
>
> <Component Id="InstallService" Guid="963a08e5-73dd-4607-c705-2036c4124eab">
>   <File Id="Abba.exe" Source="$(var.PATH)/Abba.exe" KeyPath="yes"></File>
>   <ServiceInstall
>    Id="Abba"
>    Type="ownProcess"
>    Vital="yes"
>    Name="Abba"
>    DisplayName="Abba"
>    Description="Abba Service"
>    Start="auto"
>    Account="[SERVICE_DOMAIN]\[SERVICE_USERNAME]"
>    Password="[SERVICE_PASSWORD]"
>    ErrorControl="normal"
>    Interactive="no" />
>   <ServiceControl
>    Id="Abba"
>    Name="Abba"
>    Remove="uninstall"
>    Start="install"
>    Stop="both"
>    Wait="yes" />
> </Component>
>
> It works fine for install and uninstall.
> My problem is that when I have to update the package (a minor upgrade with 
> msiexec /i "Abba.msi" REINSTALL=ALL REINSTALLMODE=vomus) the service is 
> stopped correctly, the service executable substituted but not restarted due 
> to "incorrect privileges".
> At that moment I can see that service is installed but stopped (as I 
> expected) and account info untouched but there are problem to restart it... 
> (of course if I reinstall the new package from scratch, it works fine).
> I supposed that my account properties are not kept but service is not 
> completely uninstalled so service account information are not lost.
> MSI log created during upgrade says useless information:
>
> MSI (s) (90:5C) [18:08:45:732]: Executing op: 
> ServiceInstall(Name=Abba,DisplayName=Abba,ImagePath="C:\Program 
> Files\Abba.exe",ServiceType=16,StartType=2,ErrorControl=32769,,,,StartName=\,Password=**********,Description=Abba
>  Service)
> MSI (s) (90:5C) [18:08:45:732]: Note: 1: 2205 2:  3: Error
> ...
>
> Can someone give me a tip on this, please?
>
> Thanks,
> Nic
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to