Re: [WiX-users] Restart existing service when finishes the installation/un-installation..

2013-02-10 Thread Nick Ramirez
That's good that you can start the service manually. That means that there
isn't something wrong with the service itself. Also, the error message
you're seeing is a generic message, not necessarily related to permissions.
The first thing I'd try is adding the Wait attribute to your ServiceControl,
set to "yes". See if that has any effect.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Restart-existing-service-when-finishes-the-installation-un-installation-tp7583409p7583448.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall fragment for Java applications

2013-02-10 Thread malliina123
Right, I clearly did it incorrectly the first time. I tried again and now it 
works, thanks.


 


From: Christopher Painter
Sent: ‎February‎ ‎10‎, ‎2013 ‎1‎:‎40‎ ‎PM
To: General discussion for Windows Installer XML toolset.; 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ServiceInstall fragment for Java applications


I can't imagine why not.  In their website the write:

  Take winsw.exe from the distribution, and rename it to your taste (such 
as myapp.exe)   Write myapp.xml (see Configuration Syntax for more 
details)   Place those two files side by side when you deploy your 
application, because that's how winsw.exe discovers its configuration.   
So you'd create a WiX components for those two files and your JAR file to all 
go in the same directory.  Then you'd add the ServiceInstall / ServiceControl 
elements to the component from step 1.

If you do it correctly, it should work just fine.  A service is a service to 
Windows Installer. 


 From: malliina...@gmail.com
Sent: Sunday, February 10, 2013 5:43 AM
To: "wix-users@lists.sourceforge.net" 
Subject: [WiX-users] ServiceInstall fragment for Java applications

Is it possible to use the ServiceInstall fragment for Java applications 
packaged with WiX?

Currently, I have created an MSI installer for a Java application with WiX. I'm 
using a java service wrapper (http://kenai.com/projects/winsw/pages/Home) and 
Custom Actions in WiX to install/uninstall the application as a service. 
However, based on discussions elsewhere, there appear to be drawbacks to using 
Custom Actions while the ServiceInstall fragment seems more appropriate for 
installing applications as a service. I'm researching the possibility of 
creating a valid service executable in C# that I can use in a ServiceInstall 
fragment that would in turn start/stop my java app, if that helps.

Any feedback on the recommended way forward is appreciated. Any solutions which 
involve restrictive software licenses are not acceptable.

Thanks

Michael 
-- 
Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before 
the end March 2013 and get the hardware for free! Learn more. 
http://p.sf.net/sfu/sophos-d2d-feb 
___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] VS - version number from file

2013-02-10 Thread Daniel Madill
I think there are a number of alternatives, but the one I use personally is to 
include a dependent project in the VS2010 solution that generates a version.wxi 
file that I then include in the installer's wxs file using the WiX preprocessor 
e.g. . The generated version.wxi looks something like:






so it is very easy to generate and could even be done with a Makefile project 
and a batch script, or even in a pre-build step. I use a separate project 
because I also generate version information for resources, splash screens, etc.

Once you have included version.wxi in your wxs you can refer to the product 
version as $(var.ProductVersion).

Daniel Madill
www.quanser.com

-Original Message-
From: Don Reba [mailto:don_r...@inbox.ru] 
Sent: February-10-13 2:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] VS - version number from file

If I run Candle from the command line, I can set an environmental variable 
to the contents of the file containing my project version number:

set/p ProjectVersion=http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall fragment for Java applications

2013-02-10 Thread Christopher Painter
I can't imagine why not.  In their website the write:

  Take winsw.exe from the distribution, and rename it to your taste (such 
as myapp.exe)   Write myapp.xml (see Configuration Syntax for more 
details)   Place those two files side by side when you deploy your 
application, because that's how winsw.exe discovers its configuration.   
So you'd create a WiX components for those two files and your JAR file to all 
go in the same directory.  Then you'd add the ServiceInstall / ServiceControl 
elements to the component from step 1.

If you do it correctly, it should work just fine.  A service is a service to 
Windows Installer. 


 From: malliina...@gmail.com
Sent: Sunday, February 10, 2013 5:43 AM
To: "wix-users@lists.sourceforge.net" 
Subject: [WiX-users] ServiceInstall fragment for Java applications

Is it possible to use the ServiceInstall fragment for Java applications 
packaged with WiX?

Currently, I have created an MSI installer for a Java application with WiX. I'm 
using a java service wrapper (http://kenai.com/projects/winsw/pages/Home) and 
Custom Actions in WiX to install/uninstall the application as a service. 
However, based on discussions elsewhere, there appear to be drawbacks to using 
Custom Actions while the ServiceInstall fragment seems more appropriate for 
installing applications as a service. I'm researching the possibility of 
creating a valid service executable in C# that I can use in a ServiceInstall 
fragment that would in turn start/stop my java app, if that helps.

Any feedback on the recommended way forward is appreciated. Any solutions which 
involve restrictive software licenses are not acceptable.

Thanks

Michael 
-- 
Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before 
the end March 2013 and get the hardware for free! Learn more. 
http://p.sf.net/sfu/sophos-d2d-feb 
___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ServiceInstall fragment for Java applications

2013-02-10 Thread malliina123
Is it possible to use the ServiceInstall fragment for Java applications 
packaged with WiX?

 

Currently, I have created an MSI installer for a Java application with WiX. I’m 
using a java service wrapper (http://kenai.com/projects/winsw/pages/Home) and 
Custom Actions in WiX to install/uninstall the application as a service. 
However, based on discussions elsewhere, there appear to be drawbacks to using 
Custom Actions while the ServiceInstall fragment seems more appropriate for 
installing applications as a service. I’m researching the possibility of 
creating a valid service executable in C# that I can use in a ServiceInstall 
fragment that would in turn start/stop my java app, if that helps.

 

Any feedback on the recommended way forward is appreciated. Any solutions which 
involve restrictive software licenses are not acceptable.


 

Thanks

Michael
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem installing 3.7 on XP

2013-02-10 Thread Neil Sleightholm
Have a Windows XP machine that is running 3.6 ok but when I try to upgrade to 
3.7 it fails, in the logs I see this repeated a few times:

[1028:3280][2013-02-08T08:34:00]e000: Error 0x800b0110: Failed authenticode 
verification of payload: C:\Documents and Settings\All Users\Application 
Data\Package Cache\.unverified\Wix
[1028:3280][2013-02-08T08:34:00]e000: Error 0x800b0110: Failed to verify 
signature of payload: Wix
[1028:3280][2013-02-08T08:34:00]e310: Failed to verify payload: Wix at path: 
C:\Documents and Settings\All Users\Application Data\Package 
Cache\.unverified\Wix, error: 0x800b0110. Deleting file.

The error 0x800b0110 means "The certificate is not valid for the requested 
usage."

Anyone else see this or know how to fix it?

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users