Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Peter Marcu
The fix for this was submitted yesterday and should in the next published build.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, June 05, 2007 1:06 PM
To: 'koawmfot'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problem with serviceconfig

Oh, for reference: 0x8007065a is Win32 error (because 0x8007 represents 
FACILITY_WIN32 in an HRESULT) number 1626 (0x65a), which if you look in the 
Platform SDK header WinError.h is code ERROR_FUNCTION_NOT_CALLED. The 
documentation for MsiDoAction indicates that this means 'The action was not 
found.'

>From there I looked for the action in the .wxs file used to generate the 
>.wixlib embedded in the WixUtilExtension extension DLL, and when I didn't find 
>it, I went looking for the cause.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

using v3.0.2911.0 i had no problem with the WixUtilExtension and ServiceConfig 
element.  I just installed v3.0.3001.0 and now my msi dies when it gets to 
SchedServiceConfig.  below is the relevent MSI log file information:

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0.
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule RollbackServiceConfig 
action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2
Action ended 13:26:37: SchedServiceConfig. Return value 3.

I tried the different versions and recompiling the same code with any version 
from v3.0.2921 and higher does not work.  Was something changed in the newer 
version of WixUtilExtension.dll that broke it?

thanks
doug
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
Oh, for reference: 0x8007065a is Win32 error (because 0x8007 represents
FACILITY_WIN32 in an HRESULT) number 1626 (0x65a), which if you look in the
Platform SDK header WinError.h is code ERROR_FUNCTION_NOT_CALLED. The
documentation for MsiDoAction indicates that this means 'The action was not
found.'

 

>From there I looked for the action in the .wxs file used to generate the
.wixlib embedded in the WixUtilExtension extension DLL, and when I didn't
find it, I went looking for the cause.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

 

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information: 

 

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0. 
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0 
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollb
ack\Scripts 3: 2 
Action ended 13:26:37: SchedServiceConfig. Return value 3.

 

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

 

thanks

doug

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
There is no action called RollbackServiceConfig defined in WiX v3.0.3001.0.
There's an action declared in src\ext\UtilExtension\wixlib\UtilExtension.wxs
called ExecServiceConfigRollback which calls the same ExecServiceConfig
entry point as the ExecServiceConfig custom action, but it doesn't look to
me as if that code (in src\ca\wixca\dll\serviceconfig.cpp) can tell whether
it's being called on install or on rollback.

 

Most of the custom actions are named the same as the entry point that
implements them, so I would recommend changing line 136 of UtilExtension.wxs
to

 



 

although this does not fit in with the naming scheme used in the rest of
UtilExtension.wxs. Doing it the other way, to match, you should change that
line to:

 



 

then change the name of the entry point to ExecServiceConfigRollback at line
446, 474 and 475 of serviceconfig.cpp, and again in the code for
SchedServiceConfig at lines 186 and 187.

 

You will then need to rebuild a local copy of WiX to fix the problem. See
'Building WiX' in doc\WiX.chm for instructions on how to build the toolset.

 

WiX devs: that's twice now - SQL and ServiceConfig. Any other merges that
might have gone awry?

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

 

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information: 

 

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0. 
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0 
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollb
ack\Scripts 3: 2 
Action ended 13:26:37: SchedServiceConfig. Return value 3.

 

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

 

thanks

doug

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] problem with serviceconfig

2007-06-05 Thread koawmfot

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information:

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0.
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
3: 2
Action ended 13:26:37: SchedServiceConfig. Return value 3.

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

thanks
doug
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users