[WiX-users] setup.exe (Bundle) blocked by Symantec Endpoint Protection

2014-02-06 Thread Marty Offe
My setup.exe / Bundle is blocked by our Symantec anti-virus.  I have read the 
previous postings on this issue from 2 years ago 
(http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Reopen-Burn-triggers-virus-checker-ID-3431068-td7175855.html).
  I guess the situation has not improved?  Any new suggestions?

My bundle is only installing our prerequisite of .NET 4.0.

Here is the error information from the setup log:

[12E0:1460][2014-02-06T15:12:23]i000: Caching bundle from: 
'C:\Users\moffe\AppData\Local\Temp\{9d269288-6cf4-4420-8e18-5c3d16c178f0}\.be\Document
 Service Setup.exe' to: 'C:\ProgramData\Package 
Cache\{9d269288-6cf4-4420-8e18-5c3d16c178f0}\Document Service Setup.exe'
[12E0:1460][2014-02-06T15:12:23]e000: Error 0x80070002: Failed to cache bundle 
from: 
'C:\Users\moffe\AppData\Local\Temp\{9d269288-6cf4-4420-8e18-5c3d16c178f0}\.be\Document
 Service Setup.exe' to 'C:\ProgramData\Package 
Cache\{9d269288-6cf4-4420-8e18-5c3d16c178f0}\Document Service Setup.exe'
[12E0:1460][2014-02-06T15:12:23]e000: Error 0x80070002: Failed to cache bundle 
from path: 
C:\Users\moffe\AppData\Local\Temp\{9d269288-6cf4-4420-8e18-5c3d16c178f0}\.be\Document
 Service Setup.exe
[12E0:1460][2014-02-06T15:12:23]e000: Error 0x80070002: Failed to begin 
registration session.
[149C:16D4][2014-02-06T15:12:23]e000: Error 0x80070002: Failed to begin 
registration session in per-machine process.
[149C:16D4][2014-02-06T15:12:23]e000: Error 0x80070002: Failed to register 
bundle.
[149C:16D4][2014-02-06T15:12:23]i399: Apply complete, result: 0x80070002, 
restart: None, ba requested restart:  No
[149C:16D4][2014-02-06T15:12:49]i500: Shutting down, exit code: 0x2


Marty
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6

2013-05-17 Thread Marty Offe
Which custom action do I use to read the value from the XML app config file?

Marty Offe
Sr. Software Developer
Harland Financial Solutions
Portland, OR
503-274-7280 x2376
www.harlandfinancialsolutions.com

-Original Message-
From: Sharon Pierson [mailto:sharon.pier...@netiq.com] 
Sent: Friday, May 17, 2013 5:59 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] how to read a value from an xml app config file using 
WIX 3.6

If this is a major upgrade, you can add another custom action that reads the 
value from this file and sets a property in the installer that your dialog can 
use for displaying to the user.  The new custom action would have a condition 
that makes it run only during upgrade.


-Original Message-
From: Marty Offe [mailto:marty.o...@harlandfs.com]
Sent: Thursday, May 16, 2013 4:58 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] how to read a value from an xml app config file using WIX 
3.6

How can I read a value from an application's xml config file and present the 
value in a dialog?

Scenario:
During an install a dialog prompts the user for a port number. That port number 
is written to an application config file using the WIXUtilExtension XmlFile 
custom action element.

During an upgrade install, I would prefer that the dialog present the port 
number which was read from the application config file.

Thanks,

Marty Offe



--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] how to read a value from an xml app config file using WIX 3.6

2013-05-16 Thread Marty Offe
How can I read a value from an application's xml config file and present the 
value in a dialog?

Scenario:
During an install a dialog prompts the user for a port number. That port number 
is written to an application config file using the WIXUtilExtension XmlFile 
custom action element.

During an upgrade install, I would prefer that the dialog present the port 
number which was read from the application config file.

Thanks,

Marty Offe

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do to configure a Windows service to Restart the Service upon failure?

2013-02-08 Thread Marty Offe
YES!!!  Using the util:ServiceConfig element WORKED!!   THANK YOU!  :-)

Marty Offe




-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com] 
Sent: Monday, December 17, 2012 9:03 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do to configure a Windows service to Restart the 
Service upon failure?

Does it work if, instead of using the ServiceConfigFailureActions and Failure 
elements, you use the util:ServiceConfig element? It has 
FirstFailureActionType, SecondFailureActionType and ThirdFailureActionType 
attributes that you can set to restart, runcommand or reboot.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-do-to-configure-a-Windows-service-to-Restart-the-Service-upon-failure-tp7582414p7582415.html
Sent from the wix-users mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely 
access PCs and mobile devices and provide instant support Improve your 
efficiency, and focus on delivering more value-add services Discover what IT 
Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
___
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] How do to configure a Windows service to Restart the Service upon failure?

2012-12-17 Thread Marty Offe
 3000[~]3000   
LPDSService.exe




Marty Offe


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] msiexec.exe returns error when Failure element has restartService action

2012-12-10 Thread Marty Offe
MsiServiceConfig table contents:
MsiServiceConfigNameEvent   ConfigType  Argument
Component_
LPDS_Service.FA LPDS Service7   4   1   
LPDSService.exe


MsiServiceConfigFailureActions table contents:
MsiServiceConfigFailureActions  NameEvent   ResetPeriod 
RebootMessage   Command Actions DelayActionsComponent_
LPDS_ServiceLPDS Service7   86400   
[~] c:\foo.bat  1[~]3   3000[~]3000 
LPDSService.exe

Marty Offe




-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Sunday, December 09, 2012 8:48 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] msiexec.exe returns error when Failure element has 
restartService action

On 05-Dec-12 15:44, Marty Offe wrote:
 I am unsuccessfully trying to get my installer to configure the recovery 
 options for my Windows service.  I am using the WIX 
 ServiceConfigFailureActions element and the Failure element(s).  The only 
 Failure action that works for myself is runCommand.  If I use restartService 
 or restartComputer; then msiexec.exe errors with error 5 and error 1939.
Please post the rows generated in the MsiServiceConfig and 
MsiServiceConfigFailureActions tables.

--
sig://boB
http://joyofsetup.com/


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] msiexec.exe returns error when Failure element has restartService action

2012-12-05 Thread Marty Offe
I am unsuccessfully trying to get my installer to configure the recovery 
options for my Windows service.  I am using the WIX ServiceConfigFailureActions 
element and the Failure element(s).  The only Failure action that works for 
myself is runCommand.  If I use restartService or restartComputer; then 
msiexec.exe errors with error 5 and error 1939.

I am using msiexec.exe version V 5.0.7601.17514

Other WIX users have had similar problems 
(http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg35486.html) but 
it appears that there has not been a fix.  Some users have speculated that it 
is a problem internal to Windows.

Here is my ServiceInstall element:
ServiceInstall Id=ServiceInstallID
Name=LPDS Service
DisplayName=LaserPro Document Service
Description=Allows LaserPro Document Service to be 
used as a web service.
Interactive=no
ErrorControl=ignore
Start=auto
Type=ownProcess
Vital=no 
  ServiceConfig FailureActionsWhen=failedToStopOrReturnedError 
OnInstall=yes OnReinstall=yes OnUninstall=yes /
  ServiceConfigFailureActions OnInstall=yes OnReinstall=yes 
OnUninstall=yes ResetPeriod=86400 Command=c:\foo.bat
Failure Action=runCommand Delay=1000/
Failure Action=restartService Delay=2000/
  /ServiceConfigFailureActions
/ServiceInstall


Error from msiexec.exe installation log file:
MSI (s) (A0:F8) [08:21:16:136]: Executing op: CacheSizeFlush(,)
MSI (s) (A0:F8) [08:21:16:136]: Executing op: 
ActionStart(Name=InstallServices,Description=Installing new 
services,Template=Service: [2])
MSI (s) (A0:F8) [08:21:16:142]: Executing op: 
ProgressTotal(Total=1,Type=1,ByteEquivalent=130)
MSI (s) (A0:F8) [08:21:16:143]: Executing op: ServiceInstall(Name=LPDS 
Service,DisplayName=LaserPro Document 
Service,ImagePath=C:\LPDS\CFI\Service.exe,ServiceType=32,StartType=2,ErrorControl=32768,,Dependencies=[~],,,Password=**,Description=Allows
 LaserPro Document Service to be used as a web service.,,)
MSI (s) (A0:F8) [08:21:16:771]: Executing op: 
ActionStart(Name=MsiConfigureServices,,)
MSI (s) (A0:F8) [08:21:16:771]: Executing op: 
ProgressTotal(Total=1,Type=1,ByteEquivalent=130)
MSI (s) (A0:F8) [08:21:16:771]: Executing op: ServiceConfigure(,Name=LPDS 
Service,Event=5,ConfigType=4,Argument=1)
MSI (s) (A0:F8) [08:21:16:771]: Changing configuration of service LPDS Service.
MSI (s) (A0:F8) [08:21:16:781]: Changed configuration of service LPDS Service 
with ConfigType SERVICE_CONFIG_FAILURE_ACTIONS_FLAG
MSI (s) (A0:F8) [08:21:16:781]: Done changing configuration of service LPDS 
Service
MSI (s) (A0:F8) [08:21:16:781]: Executing op: 
ProgressTotal(Total=1,Type=1,ByteEquivalent=130)
MSI (s) (A0:F8) [08:21:16:781]: Executing op: 
ServiceConfigureFailureAction(,Name=LPDS 
Service,Event=1,,RebootMessage=[~],Command=[~],Actions=1,DelayActions=9000)
MSI (s) (A0:F8) [08:21:16:781]: Changing configuration of failure action for 
service LPDS Service.
MSI (s) (A0:F8) [08:21:16:782]: Warning: ResetPeriod is blank. Trying to 
change current configuration of failure action for service LPDS Service. 
Replacing with default argument INFINITE
MSI (s) (A0:F8) [08:21:16:782]: Error: 5. Failed to change current 
configuration of failure action for service LPDS Service
MSI (s) (A0:F8) [08:21:16:782]: Failed to change configuration of failure 
action for service LPDS Service
MSI (s) (A0:F8) [08:21:16:782]: Note: 1: 2205 2:  3: Error
MSI (s) (A0:F8) [08:21:16:782]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 1939
MSI (c) (D8:DC) [08:21:16:785]: Font created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 1939. Service 'LaserPro Document Service' (LPDS Service) could not be 
configured.  This could be a problem with the package or your permissions. 
Verify that you have sufficient privileges to configure system services.
MSI (s) (A0:F8) [08:21:46:995]: Note: 1: 2205 2:  3: Error
MSI (s) (A0:F8) [08:21:46:995]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 1709
MSI (s) (A0:F8) [08:21:46:995]: Product: LaserPro Document Service -- Error 
1939. Service 'LaserPro Document Service' (LPDS Service) could not be 
configured.  This could be a problem with the package or your permissions. 
Verify that you have sufficient privileges to configure system services.



Does anyone know how to successfully configure the recovery options of a 
Windows service with WIX?

Thanks,

Marty Offe

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know