Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread peteyates
There is a share proderrors or something
 


Pete Yates
Senior Systems Developer 
DDC - Distributed  Components Team 
HBOS II IT 
B/1/C/243
(7725) 34383  /  (0117) 376 4383
[EMAIL PROTECTED] 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony
Juricic
Sent: 31 July 2008 15:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

I have 120 MB large Wixmst created by Torch and when I pass it to Pyro
it comes back with the message PYRO1079 saying that patch cabinet
contains no files. 

 

My DLLs in RTM and Update respectively differ in the last, 4-th version
number, plus the binaries themselves are different. Using SDK tools for
patch creation these DLLs would be updated when applying the patch. I
tested that long before I started using WiX and I am 100% sure that SDK
doesn't ignore fourth version number for file substitution rules.

 

So I am wondering if Pyro is ignoring binary differences if first 3
version numbers are the same?

 

Patch.wxs content is the following:

 

?xml version=1.0 encoding=UTF-8?

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

  Patch AllowRemoval=yes Classification=Update Codepage=1252 ...
various other attributes

 

Media Id=1000 Cabinet=RTM.cab EmbedCab=yes

  PatchBaseline Id=RTM/

/Media



PatchFamily Id=MyPatchFamily Version=1.0.0 Supersede=yes

 

  ComponentRef Id=some component /

  ... a bunch of components follows

   /PatchFamily

  /Patch

/Wix

 

 

Thanks

 

 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK 
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


.
--

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.

HBOS is a carbon neutral company.  Help keep it that way.  Please don't print 
this message unless you really must.
==


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registering 64-bit Assembly

2007-10-18 Thread peteyates
Hi,
 
I am looking for some help on registering an assembly with my WIX MSI
install (WIX2).
 
I understand that it is advisable not to use a Custom Action to call
regasm at install time to register it, as all advice seems to be to
import the registry entries into the wix script and deliver them from
there. 
 
I have been using a WIX fragment generated by Tallow to do just this
with no problem. 
 
I am currently working on some 64-bit installs and have been trying to
produce a WIX fragment by using regasm and tallow. 
 
when I attempt to convert a registry file produced by regasm to a WIX
Fragment by using the tallow -reg option I am finding that although I
produce a Fragment that looks fine, it will causes errors with compiling
the fragment in Light. 
 
The problem is, after I have added a Directory Ref and Component Tag I
get the following error:-
 
fatal error LGHT0003: primary key 'regF857F4F67D6475833875D0C4140FEA
99' in column 'Registry' are duplicated in table 'Registry'
 
There seems to be some kind of duplication going on. 
 
Can anyone think why this might be?
 
 
 

I have also been trying to use heat to generate a fragment, but when i
try to compile the MSI I get an error from Candle as follows:
 
error CNDL0005 : The Component element contains an unexpected child
element 'RegistryValue'.
 
The output does not contain a parent Registry element.
 
I am sure I am missing something simple, but if anyone can advise how I
can register a 64-bit assembly in WIX 2 I would be very grateful.  
 
 
 

 
 
Pete Yates
Senior Systems Developer 
DDC - Distributed  Components Team 
HBOS II IT 
B3D/22
(7700) 22069  /  (01275) 552069
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 

 

.
--

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running Service under a User Account

2007-09-26 Thread peteyates

Hi All, 

Thanks for all the advice, I have already given the administrator
account and the account I am trying to run the service under Log on as
a service rights and I am still seeing the same error even after
rebooting to make sure that policies are refreshed. 

Is there anything else that anyone can think of that might not be a
default permission under W2003 Server SP2 that I might need to set.

Thanks in advance


Pete Yates
Senior Systems Developer
DDC - Distributed  Components Team
HBOS II IT
B3D/22
(7700) 22069  /  (01275) 552069
[EMAIL PROTECTED] 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 25 September 2007 17:16
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Running Service under a User Account

I think you mean the log on as a service right, slight difference. 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Hamflett
Sent: Tuesday, September 25, 2007 7:58 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Running Service under a User Account

Administrator doesn't have the 'start a service' right by default.
You'll need to add it.  The
reason you can control a service from the Services panel is that the
right is added for you silently the first time you open that panel.

Rob

[EMAIL PROTECTED] wrote:
 Hi all,
  
 I have a component that installs an exe and registers it as a service.
  
 The problem I have is as soon as I add a user account to run under, it

 fails with a generic Error 1923. Service 'BATCHCONTROLLER1' 
 (batchserviceamtbatchcontroller_exe) could not be installed.  Verify 
 that you have sufficient privileges to install system services.
error.
  
 I am pretty sure the problem ISN'T privileges as both the account I am

 logged on as, and the account I am wanting to run the service under
are 
 in the administrators group on the machine (A Virtual PC running
Windows 
 2003 Server SP2)
  
 The XML is as follows and works perfectly without the Account and 
 Password options, but as soon as I add them it errors.
  
 DirectoryRef Id=batchservice
   Component Id=batchserviceamtbatchcontroller_exe 
 Guid=7E9DACCD-F3E4-46A3-884D-6065C2199255 DiskId=1
 File Id=BatchServiceAmtBatchController_exe 
 LongName=AmtBatchController.exe Name=AMTBAT~1.EXE 
 src=$(var.buildpath)\BatchService\AmtBatchController.exe
KeyPath=yes /
 ServiceInstall Id='BatchControllerServiceInstall' 
 DisplayName='BATCHCONTROLLER1'
Name='batchserviceamtbatchcontroller_exe' 
 ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' 
 Account=ServiceUser Password=password1/
 ServiceControl Id='BatchControllerServiceControl' 
 Name='batchserviceamtbatchcontroller_exe' Stop='both'
Remove='uninstall' 
 Wait='yes' /
   /Component
 /DirectoryRef
  
 Am I overlooking something obvious?  
 
  
  
  
 */Pete Yates
 Senior Systems Developer/*
 DDC - Distributed  Components Team
 HBOS II IT
 B3D/22
 (7700) 22069  /  (01275) 552069
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  
 
 .



 
 HBOS plc, Registered in Scotland No. SC218813. Registered Office: The
Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of
which are authorised and regulated by the Financial Services Authority.


==
 
 


 


-
 This SF.net email is sponsored by: Microsoft Defy all challenges. 
 Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 


 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


.
--

HBOS plc, Registered in Scotland 

[WiX-users] Running Service under a User Account

2007-09-25 Thread peteyates
Hi all, 
 
I have a component that installs an exe and registers it as a service. 
 
The problem I have is as soon as I add a user account to run under, it
fails with a generic Error 1923. Service 'BATCHCONTROLLER1'
(batchserviceamtbatchcontroller_exe) could not be installed.  Verify
that you have sufficient privileges to install system services. error. 
 
I am pretty sure the problem ISN'T privileges as both the account I am
logged on as, and the account I am wanting to run the service under are
in the administrators group on the machine (A Virtual PC running Windows
2003 Server SP2) 
 
The XML is as follows and works perfectly without the Account and
Password options, but as soon as I add them it errors. 
 
DirectoryRef Id=batchservice
  Component Id=batchserviceamtbatchcontroller_exe
Guid=7E9DACCD-F3E4-46A3-884D-6065C2199255 DiskId=1
File Id=BatchServiceAmtBatchController_exe
LongName=AmtBatchController.exe Name=AMTBAT~1.EXE
src=$(var.buildpath)\BatchService\AmtBatchController.exe KeyPath=yes
/
ServiceInstall Id='BatchControllerServiceInstall'
DisplayName='BATCHCONTROLLER1' Name='batchserviceamtbatchcontroller_exe'
ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes'
Account=ServiceUser Password=password1/
ServiceControl Id='BatchControllerServiceControl'
Name='batchserviceamtbatchcontroller_exe' Stop='both' Remove='uninstall'
Wait='yes' /
  /Component
/DirectoryRef

 
Am I overlooking something obvious?  

 
 
 
Pete Yates
Senior Systems Developer 
DDC - Distributed  Components Team 
HBOS II IT 
B3D/22
(7700) 22069  /  (01275) 552069
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 

 

.


HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Tallow DLL registration Fragment

2007-09-14 Thread peteyates
I am trying to get WIX to register a ComInterop DLL for me, by using the
fragment generated by Tallow using the -c option.
 
I notice that the registry settings in the generated fragment contain
the absolute path to the working version of the DLL. 
 
As I do not know what it may end up installed I wanted to replace the
beginning of this path with my [TARGETDIR] variable from the main
script. 
 
This will register the DLL for me but the TARGETDIR uses a '\' as
directory separator and the rest of the path already in the fragment
uses a '/'.
 
It would be easy to change the fragment but I am trying to avoid manual
steps and I wondered if anyone knew of a way to get around this in an
automated way.
 
Thanks for any assistance.
 
Pete
 
Pete Yates
Senior Systems Developer 
DDC - Distributed  Components Team 
HBOS II IT 
B3D/22
(7700) 22069  /  (01275) 552069
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 

 

.
--

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users