[Spice-devel,usbclerk] msi: make service interactive

Submitted by Uri Lublin on Dec. 18, 2013, 1:03 p.m.

Details

Message ID 1387371823-27684-1-git-send-email-uril@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Uri Lublin Dec. 18, 2013, 1:03 p.m.
Otherwise WinXP refuses to install the WinUSB driver.

rhbz#1038289

---
 usbclerk.wxs.in | 6 ++++++
 1 file changed, 6 insertions(+)

Patch hide | download patch | download mbox

diff --git a/usbclerk.wxs.in b/usbclerk.wxs.in
index 1c5e07a..3ac33a5 100644
--- a/usbclerk.wxs.in
+++ b/usbclerk.wxs.in
@@ -59,6 +59,7 @@ 
                             Start="auto"
                             Account="[SERVICEACCOUNT]"
                             Password="[SERVICEPASSWORD]"
+                            Interactive="yes"
                             ErrorControl="normal"/>
            <ServiceControl Id="StartService"
                             Name="USBClerk"

Comments

----- Original Message -----
> Otherwise WinXP refuses to install the WinUSB driver.
> 
> rhbz#1038289

You mentionned in a discussion on irc a problem with win7  with this flag. Is it clarified?

ack otherwise
On 12/18/2013 04:06 PM, Marc-André Lureau wrote:
>
> ----- Original Message -----
>> Otherwise WinXP refuses to install the WinUSB driver.
>>
>> rhbz#1038289
> You mentionned in a discussion on irc a problem with win7  with this flag. Is it clarified?
>
> ack otherwise

Win7 works with Interactive mode, but may warn the user that usbclerk is an
interactive service (or something similar).
I played with usbclerk.wxs file, differentiating between WinXP and Win7
by looking at VersionNT, but encountered a problem with int-compare 
conditionals.
Possibly my msitools package is not the latest available upstream.

I think, for now, it's better to set Interactive flag for both, and fix 
WinXP, and possibly
later set Interactive only for WinXP and not for Win7.

Also when installing usbclerk from command shell (usbclerk.exe install) 
the interactive
flag is set for both WinXP and Win7.


Thanks,
     Uri.
ack

----- Original Message -----
> On 12/18/2013 04:06 PM, Marc-André Lureau wrote:
> >
> > ----- Original Message -----
> >> Otherwise WinXP refuses to install the WinUSB driver.
> >>
> >> rhbz#1038289
> > You mentionned in a discussion on irc a problem with win7  with this flag.
> > Is it clarified?
> >
> > ack otherwise
> 
> Win7 works with Interactive mode, but may warn the user that usbclerk is an
> interactive service (or something similar).
> I played with usbclerk.wxs file, differentiating between WinXP and Win7
> by looking at VersionNT, but encountered a problem with int-compare
> conditionals.
> Possibly my msitools package is not the latest available upstream.
> 
> I think, for now, it's better to set Interactive flag for both, and fix
> WinXP, and possibly
> later set Interactive only for WinXP and not for Win7.
> 
> Also when installing usbclerk from command shell (usbclerk.exe install)
> the interactive
> flag is set for both WinXP and Win7.
> 
> 
> Thanks,
>      Uri.
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>