Re: [WiX-users] MsiFileHash Table

2014-10-10 Thread Christoffel le Roux
I'm seriously doing something wrong then, all my msi's have no MsiFileHash 
table.

Christoffel le Roux

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com]
Sent: Friday, October 10, 2014 1:45 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] MsiFileHash Table

The WiX toolset does that for you automatically.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: Thursday, October 9, 2014 7:44 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] MsiFileHash Table

Is there any tool in the WIX toolkit that can populate the MsiFileHash Table?  
Without using the MsiFiler.exe tool.  Or does anyone have some equivalent code 
available please :)

Christoffel le Roux

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 
3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready 
for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 
Requirement 10 and 11.5 with EventLog Analyzer 
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiFileHash Table

2014-10-10 Thread Christoffel le Roux
Hi Rob, thanks  for the replay, its much appreciated.

 I found the issue, it was ignorant me who set the DefaulVersion on the files 
that caused the MsiFileHash table not to populate :)

I Just  have one question, how do I get the MsiAssembly and MsiAssemblyName 
table to populate?

Thanks in advance.


-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: Friday, October 10, 2014 8:31 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] MsiFileHash Table

I'm seriously doing something wrong then, all my msi's have no MsiFileHash 
table.

Christoffel le Roux

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com]
Sent: Friday, October 10, 2014 1:45 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] MsiFileHash Table

The WiX toolset does that for you automatically.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: Thursday, October 9, 2014 7:44 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] MsiFileHash Table

Is there any tool in the WIX toolkit that can populate the MsiFileHash Table?  
Without using the MsiFiler.exe tool.  Or does anyone have some equivalent code 
available please :)

Christoffel le Roux

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 
3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready 
for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 
Requirement 10 and 11.5 with EventLog Analyzer 
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 
3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready 
for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 
Requirement 10 and 11.5 with EventLog Analyzer 
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper

[WiX-users] MsiFileHash Table

2014-10-09 Thread Christoffel le Roux
Is there any tool in the WIX toolkit that can populate the MsiFileHash Table?  
Without using the MsiFiler.exe tool.  Or does anyone have some equivalent code 
available please :)

Christoffel le Roux
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] PATCH REINSTALL=ALL REINSTALLMODE=amus

2014-03-14 Thread Christoffel le Roux
Hi guys and girls :)

Is possible to enforse PATCH REINSTALL=ALL REINSTALLMODE=amus when installing a 
patch without using the command line arguments, like when I double click the 
msp?

Thanks
Christoff le Roux

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uninstall Patch Error 1706

2014-02-28 Thread Christoffel le Roux
Hi, I have two products that install from a cd.

Both install and patch fine, but one of the products give ma a 1706 error only 
in Windows 8 and asks for the original media source when I try to uninstall an 
installed patch.

Once I selected the original media source the source gets rejected and the 
installation fails.

The other product installs and uninstalls like a charm.

Both the product definitions like follow:

Product Id=$(var.ProductCode)
Name=$(var.ProductName)
Language=1033
Version=$(var.ProductVersion)
  Manufacturer=$(var.ProductManufacturer)
UpgradeCode=$(var.UpgradeCode)
 !--Package Details--
 Package InstallerVersion=405
  Compressed=yes
  InstallScope=perMachine
  Description=$(var. Description)
  InstallPrivileges=elevated AdminImage=yes/
 !--Media--
 Media Id=1 Cabinet=setup.cab EmbedCab=yes /
 Property Id=MSIUSEREALADMINDETECTION Value=1/Property
 /Product


And the Patch Properties :



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



 ?include ..\..\WixCommon\ProductSettings.wxi ?



 Patch

 AllowRemoval=yes

 Manufacturer=$(var.ProductManufacturer)

 MoreInfoURL=$(var.ArpUrlInfoAbout)

 Description=$(var. PatchDescriptionx64)

 DisplayName=$(var. PatchDisplayNamex64)

 Comments=$(var. PatchDescriptionx64)

 MinorUpdateTargetRTM=yes

 Classification=Update

 !--The Id in the Media element must be greater than the 
number of files in the

 original image; it should also take files from previous 
patches into account.

 If you're authoring a second patch and the previous patch used 
5000 as Id and

 updated 11 files, then this number must be greater than 
5011.--

 Media Id=1608 Cabinet=setup.cab

  PatchBaseline Id=RTM

   Validate ProductId=no/

  /PatchBaseline

 /Media

 TargetProductCodes Replace=no

  TargetProductCode Id=$(var. ProductCodex64)/

 /TargetProductCodes

 PatchFamilyRef Id=xX64PatchFamily/

 /Patch

 Fragment

 !--When choosing family names, don't use the same names in 
different products

  except for creating updates that are intended to apply to 
multiple products at once,

 because they contain some shared features.--

 PatchFamily Id=PatchFamily 
Version=$(var.ProductVersion) Supersede=yes

 /PatchFamily

 /Fragment

/Wix


I did read about the AllowMediaLockdown registry setting and adding the setting 
to the registry solves the source resolution problem thus telling me that for 
some reason the source of that one particular product cannot be save.


I have been on this for a while now and cannot crack the reason why this is 
happening to only one of the products on the cd.

Please help !
Thanks in advanced.

Christoffel le Roux
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Force replace files when applying patch

2013-10-31 Thread Christoffel le Roux
Yup, thanks the version lying did the trick, I'm using a modified version of 
paraffin.exe I added a 'alwaysoverwrite' and 'DefaultfileVersion' command line 
attributes to get the DefualtVersion added to the wxs output.

Thanks for all the help guys.

Christoffel le Roux

-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com]
Sent: 31 October 2013 01:12 AM
To: General discussion about the WiX toolset.; General discussion about the WiX 
toolset.
Subject: Re: [WiX-users] Force replace files when applying patch

Trust me, I know what I'm doing. :)


 From: Nicolás Alvarez nicolas.alva...@gmail.com
Sent: Wednesday, October 30, 2013 5:42 PM
To: General discussion about the WiX toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Force replace files when applying patch

2013/10/30 Christopher Painter chr...@iswix.com:And a rollback CA and 
a commit CA and. :)If that works for you,  fine.  I won't call it a 
'bad thing'.We all have to do dirty things now  and then, don't we? :)   
My personal favoring is setting the installdir to C:\Progra~1\  grin. 
That's the kind of dangerous assumption that gets your app mentioned (not by 
name) in The Old New Thing blog. 
http://blogs.msdn.com/b/oldnewthing/archive/2007/04/02/2008357.aspx Also, on my 
Windows XP computer, the program files directory can't possibly be C:\Progra~1 
since its long name is C:\Archivos de programa\. -- Nicolás 
-- 
Android is increasing in popularity, but the open development platform that 
developers love is also attractive to malware creators. Download this white 
paper to learn more about secure code signing practices that can help keep 
Android apps secure. 
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk 
___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Android is increasing in popularity, but the open development platform that 
developers love is also attractive to malware creators. Download this white 
paper to learn more about secure code signing practices that can help keep 
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Force replace files when applying patch

2013-10-30 Thread Christoffel le Roux
Hey, According to the log file the files are skipped because of the 
Modification Date, I'm currently doing a test using the 'version lying' with 
the DefaultVersion set. I'll let u guys know how it goes.

Thanks :P

-Original Message-
From: Blair Murri [mailto:os...@live.com]
Sent: 29 October 2013 09:28 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Force replace files when applying patch

What did the log say happened?






Blair





From: Christoffel le Roux
Sent: ‎Monday‎, ‎October‎ ‎28‎, ‎2013 ‎6‎:‎08‎ ‎AM
To: General discussion for Windows Installer XML toolset.





Hi, When try to patch non-versioned files, the files does not get replaced when 
the file on the disk was changed by the user, I know this is by design, but I 
need to  patch some configuration files that the user was allowed to update, 
lets say it's a web.config file, when some additional content was added to the 
web.config file from the build,  I need to remove the file the user updated and 
replace it with the file in the delta, is there any way that I can force the 
files to get reinstalled.

I did add a removefile element to the files like so:


  Component Id=comp_12D9BA535F5443E0B23AF72ED10A3385 
Guid=BC0D1156-F478-4051-BFAF-8FF5AD1EFC1B

  File Id=file_EF33C85A5F3F430DAA97E17D618E4CD2 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\web.config  /

RemoveFile 
Id=remove_comp_12D9BA535F5443E0B23AF72ED10A3385 Name= web.config  
On=install /

   /Component

But after the patch was applied the the web site had significant less files 
than what is was supposed to have.

Please can anyone make any suggestions

Thanks in advanced.

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register  
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Android is increasing in popularity, but the open development platform that 
developers love is also attractive to malware creators. Download this white 
paper to learn more about secure code signing practices that can help keep 
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Force replace files when applying patch

2013-10-30 Thread Christoffel le Roux
Hey Phil, I'm all for the best route on getting all the files replaced, I have 
no idea how the file hashing works?

Christoffel le Roux

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: 29 October 2013 05:24 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Force replace files when applying patch

Version lying is a bad thing! The basic issue is that the file on disk (with no 
version) will never match the version you've put in the file table. This means 
the product is always broken and is at risk of repeatedly trying to repair 
itself.

Regarding let the user try to merge changes - I wasn't suggesting the user 
merge the changes into the config file, I was suggesting that the install does 
it.

Nobody's mentioned file hashing - that has an effect on the replacement rules, 
but it's not clear if you're using it or not.

Phil Wilson


On Tue, Oct 29, 2013 at 12:27 AM, Blair Murri os...@live.com wrote:

 What did the log say happened?






 Blair





 From: Christoffel le Roux
 Sent: Monday, October 28, 2013 6:08 AM
 To: General discussion for Windows Installer XML toolset.





 Hi, When try to patch non-versioned files, the files does not get
 replaced when the file on the disk was changed by the user, I know
 this is by design, but I need to  patch some configuration files that
 the user was allowed to update, lets say it's a web.config file, when
 some additional content was added to the web.config file from the
 build,  I need to remove the file the user updated and replace it with
 the file in the delta, is there any way that I can force the files to get 
 reinstalled.

 I did add a removefile element to the files like so:


   Component Id=comp_12D9BA535F5443E0B23AF72ED10A3385
 Guid=BC0D1156-F478-4051-BFAF-8FF5AD1EFC1B

   File Id=file_EF33C85A5F3F430DAA97E17D618E4CD2 KeyPath=yes
 Source=$(var.BinariesBuildOutputPath)\web.config  /

 RemoveFile
 Id=remove_comp_12D9BA535F5443E0B23AF72ED10A3385 Name= web.config 
 On=install /

/Component

 But after the patch was applied the the web site had significant less
 files than what is was supposed to have.

 Please can anyone make any suggestions

 Thanks in advanced.

 This information is intended only for the person or entity to which it
 is addressed and may contain private, confidential, proprietary and/or
 privileged material and may be subject to confidentiality agreements.
 Any review, retransmission, dissemination, or any other use of or
 taking of any action in reliance upon this information, by persons or
 entities other than the intended recipient, is prohibited. If you
 received this in error, please contact the sender and delete the material 
 from all storage media.
 FlowCentric is neither liable for proper, complete transmission of the
 information contained in this communication, any delay in its receipt
 or that the mail is virus-free.

 --
  October Webinars: Code for Performance Free Intel webinars
 can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
 most from the latest Intel processors and coprocessors. See abstracts
 and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.c
 lktrk ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 --
  Android is increasing in popularity, but the open development
 platform that developers love is also attractive to malware creators.
 Download this white paper to learn more about secure code signing
 practices that can help keep Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.c
 lktrk ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Android is increasing in popularity, but the open development platform that 
developers love is also attractive to malware creators. Download this white 
paper to learn more about secure code signing practices that can help keep 
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon

Re: [WiX-users] Force replace files when applying patch

2013-10-29 Thread Christoffel le Roux
Hey Phil, not all files are xml some are MVC html views, we would rather 
replace all the files than let the user try to merge changes back into their 
dev or live environments.  I saw someone else asked a similar question 
yesterday on overwriting all files on repair which is basically what happens in 
my case as well

[WiX-users] repair does not repair file that was changed
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg60329.html

 You can do something called Version lying.  Basically you author your WXS
to say the text file has a version number and now it'll always reinstall.
There are some down sides though.

I will investigate on this to see if it's possible.

Thanks for the help so far :)
Christoffel le Roux

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: 28 October 2013 06:03 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Force replace files when applying patch

It's safer strategy in these cases to update the existing file, and not destroy 
data that the user or the system may have entered. It should be just an Xml 
update, right?

Phil Wilson


On Mon, Oct 28, 2013 at 5:47 AM, Christoffel le Roux  
christoffe...@flowcentric.com wrote:

 Hi, When try to patch non-versioned files, the files does not get
 replaced when the file on the disk was changed by the user, I know
 this is by design, but I need to  patch some configuration files that
 the user was allowed to update, lets say it's a web.config file, when
 some additional content was added to the web.config file from the
 build,  I need to remove the file the user updated and replace it with
 the file in the delta, is there any way that I can force the files to get 
 reinstalled.

 I did add a removefile element to the files like so:


   Component Id=comp_12D9BA535F5443E0B23AF72ED10A3385
 Guid=BC0D1156-F478-4051-BFAF-8FF5AD1EFC1B

   File Id=file_EF33C85A5F3F430DAA97E17D618E4CD2 KeyPath=yes
 Source=$(var.BinariesBuildOutputPath)\web.config  /

 RemoveFile
 Id=remove_comp_12D9BA535F5443E0B23AF72ED10A3385 Name= web.config 
 On=install /

/Component

 But after the patch was applied the the web site had significant less
 files than what is was supposed to have.

 Please can anyone make any suggestions

 Thanks in advanced.

 This information is intended only for the person or entity to which it
 is addressed and may contain private, confidential, proprietary and/or
 privileged material and may be subject to confidentiality agreements.
 Any review, retransmission, dissemination, or any other use of or
 taking of any action in reliance upon this information, by persons or
 entities other than the intended recipient, is prohibited. If you
 received this in error, please contact the sender and delete the material 
 from all storage media.
 FlowCentric is neither liable for proper, complete transmission of the
 information contained in this communication, any delay in its receipt
 or that the mail is virus-free.

 --
  October Webinars: Code for Performance Free Intel webinars
 can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
 most from the latest Intel processors and coprocessors. See abstracts
 and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.c
 lktrk ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register  
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Android is increasing

[WiX-users] Force replace files when applying patch

2013-10-28 Thread Christoffel le Roux
Hi, When try to patch non-versioned files, the files does not get replaced when 
the file on the disk was changed by the user, I know this is by design, but I 
need to  patch some configuration files that the user was allowed to update, 
lets say it's a web.config file, when some additional content was added to the 
web.config file from the build,  I need to remove the file the user updated and 
replace it with the file in the delta, is there any way that I can force the 
files to get reinstalled.

I did add a removefile element to the files like so:


  Component Id=comp_12D9BA535F5443E0B23AF72ED10A3385 
Guid=BC0D1156-F478-4051-BFAF-8FF5AD1EFC1B

  File Id=file_EF33C85A5F3F430DAA97E17D618E4CD2 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\web.config  /

RemoveFile 
Id=remove_comp_12D9BA535F5443E0B23AF72ED10A3385 Name= web.config  
On=install /

   /Component

But after the patch was applied the the web site had significant less files 
than what is was supposed to have.

Please can anyone make any suggestions

Thanks in advanced.

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ServiceInstaller custom local user

2013-07-25 Thread Christoffel le Roux
Hi have a very peculiar issue. I'm install a windows service using the 
following wix code

!- Service Install Components --

Component Id=cmp2F9C5C2CDF330B0C3E022984E1A3936C Guid=*

 File Id=filF81304C2C5868102C7E97E9A5C61A95E

 KeyPath=yes

 Source=$(var.BinariesBuildOutputPath)\TestService .exe /

 ServiceInstall Id=TestServiceServiceInstall

 Name=TestService - [SERVICENAME]

 DisplayName= TestService - [SERVICENAME]

 Type=ownProcess

 Interactive=no

 Start=auto

 Vital=yes

 ErrorControl=normal

 Description=This is a test service

 Account=[SERVICEACCOUNT]

 Password=[SERVICEACCOUNTPASSWORD]

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

 ServiceControl Id= TestServiceServiceControl

  Name=TestService - [SERVICENAME]

 Stop=both

 Remove=uninstall

 Wait=yes

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

/Component



!--Log On As Service--
Component Id=LogOnAsServiceComponent Directory=BINARIESDIRECTORY 
Guid=273B0B31-3D44-4D62-A6D5-BDF3A9CC607F MultiInstance=yes

 Condition![CDATA[NOT Installed AND SERVICEACCOUNT  LocalSystem 
AND SERVICEACCOUNT  NT AUTHORITY\LOCAL SERVICE AND SERVICEACCOUNT  NT 
AUTHORITY\NETWORK SERVICE]]/Condition

 CreateFolder/CreateFolder

 util:User Id=UpdateUserLogonAsService UpdateIfExists=yes 
CreateUser=no Name=[SERVICEACCOUNT] LogonAsService=yes

 /util:User

/Component



!--Register the User to allow access to RSA Key to be able to decrypt the 
encrypted the service's configuration file --

SetProperty Id=RegisterForRSAKey

 Before=RegisterForRSAKey

 Sequence=execute

 
Value=quot;[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exequot;
 -pa quot;NetFrameworkConfigurationKeyquot; quot;[SERVICEACCOUNT]quot; /

 CustomAction

 Id=RegisterForRSAKey

 BinaryKey=WixCA

 DllEntry=CAQuietExec

 Execute=deferred

 Impersonate=yes

 Return='check'

 /CustomAction





The service gets installed using a custom local windows account not 
LocalSystem, The logon as service does get set. But...



If I try to start the service after installation the, service starts and stops 
automatically.

If I then add the custom local account to the local administrators group and 
then remove it again and then start the service the service starts.



Also what I tried after installing the service, is to change the service 
account to local system,

start the service which start fine, and then change the service account back to 
the local system account, the service starts.



I'm baffled on what can cause the service not to start right after it being 
installed.



My next option was to lose the wix service installer, and use installutil 
custom actions to install the service, which I tested using the exact same 
parameters with no problem,

but I don't really want to go that route if wix has the option for installing 
services.



Please help to get this service started.



Thanks in advance.

Christoffel





This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstaller custom local user

2013-07-25 Thread Christoffel le Roux
The service implements a timer that is supposed to keep the service alive and 
should not stop due to no activity.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: 25 July 2013 09:36 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] ServiceInstaller custom local user

Hi have a very peculiar issue. I'm install a windows service using the 
following wix code

!- Service Install Components --

Component Id=cmp2F9C5C2CDF330B0C3E022984E1A3936C Guid=*

 File Id=filF81304C2C5868102C7E97E9A5C61A95E

 KeyPath=yes

 Source=$(var.BinariesBuildOutputPath)\TestService .exe /

 ServiceInstall Id=TestServiceServiceInstall

 Name=TestService - [SERVICENAME]

 DisplayName= TestService - [SERVICENAME]

 Type=ownProcess

 Interactive=no

 Start=auto

 Vital=yes

 ErrorControl=normal

 Description=This is a test service

 Account=[SERVICEACCOUNT]

 Password=[SERVICEACCOUNTPASSWORD]

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

 ServiceControl Id= TestServiceServiceControl

  Name=TestService - [SERVICENAME]

 Stop=both

 Remove=uninstall

 Wait=yes

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

/Component



!--Log On As Service--
Component Id=LogOnAsServiceComponent Directory=BINARIESDIRECTORY 
Guid=273B0B31-3D44-4D62-A6D5-BDF3A9CC607F MultiInstance=yes

 Condition![CDATA[NOT Installed AND SERVICEACCOUNT  LocalSystem 
AND SERVICEACCOUNT  NT AUTHORITY\LOCAL SERVICE AND SERVICEACCOUNT  NT 
AUTHORITY\NETWORK SERVICE]]/Condition

 CreateFolder/CreateFolder

 util:User Id=UpdateUserLogonAsService UpdateIfExists=yes 
CreateUser=no Name=[SERVICEACCOUNT] LogonAsService=yes

 /util:User

/Component



!--Register the User to allow access to RSA Key to be able to decrypt the 
encrypted the service's configuration file --

SetProperty Id=RegisterForRSAKey

 Before=RegisterForRSAKey

 Sequence=execute

 
Value=quot;[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exequot;
 -pa quot;NetFrameworkConfigurationKeyquot; quot;[SERVICEACCOUNT]quot; /

 CustomAction

 Id=RegisterForRSAKey

 BinaryKey=WixCA

 DllEntry=CAQuietExec

 Execute=deferred

 Impersonate=yes

 Return='check'

 /CustomAction





The service gets installed using a custom local windows account not 
LocalSystem, The logon as service does get set. But...



If I try to start the service after installation the, service starts and stops 
automatically.

If I then add the custom local account to the local administrators group and 
then remove it again and then start the service the service starts.



Also what I tried after installing the service, is to change the service 
account to local system,

start the service which start fine, and then change the service account back to 
the local system account, the service starts.



I'm baffled on what can cause the service not to start right after it being 
installed.



My next option was to lose the wix service installer, and use installutil 
custom actions to install the service, which I tested using the exact same 
parameters with no problem,

but I don't really want to go that route if wix has the option for installing 
services.



Please help to get this service started.



Thanks in advance.

Christoffel





This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] ServiceInstaller custom local user

2013-07-25 Thread Christoffel le Roux
I solved the issue, I reflected the ServiceInstaller class in 
System.ServiceProcess, I saw that it has an EventLogInstaller class that 
registers an event log for the service.

I added this to the service's component

util:EventSource Log=TestService Name=TestService -  [SERVICENAME] 
EventMessageFile=[NETFRAMEWORK40CLIENTINSTALLROOTDIR64]EventLogMessages.dll /


That solved the issue, thanks folks :)
Christoffel

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: 25 July 2013 12:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstaller custom local user

The service implements a timer that is supposed to keep the service alive and 
should not stop due to no activity.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@flowcentric.com]
Sent: 25 July 2013 09:36 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] ServiceInstaller custom local user

Hi have a very peculiar issue. I'm install a windows service using the 
following wix code

!- Service Install Components --

Component Id=cmp2F9C5C2CDF330B0C3E022984E1A3936C Guid=*

 File Id=filF81304C2C5868102C7E97E9A5C61A95E

 KeyPath=yes

 Source=$(var.BinariesBuildOutputPath)\TestService .exe /

 ServiceInstall Id=TestServiceServiceInstall

 Name=TestService - [SERVICENAME]

 DisplayName= TestService - [SERVICENAME]

 Type=ownProcess

 Interactive=no

 Start=auto

 Vital=yes

 ErrorControl=normal

 Description=This is a test service

 Account=[SERVICEACCOUNT]

 Password=[SERVICEACCOUNTPASSWORD]

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

 ServiceControl Id= TestServiceServiceControl

  Name=TestService - [SERVICENAME]

 Stop=both

 Remove=uninstall

 Wait=yes

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

/Component



!--Log On As Service--
Component Id=LogOnAsServiceComponent Directory=BINARIESDIRECTORY 
Guid=273B0B31-3D44-4D62-A6D5-BDF3A9CC607F MultiInstance=yes

 Condition![CDATA[NOT Installed AND SERVICEACCOUNT  LocalSystem 
AND SERVICEACCOUNT  NT AUTHORITY\LOCAL SERVICE AND SERVICEACCOUNT  NT 
AUTHORITY\NETWORK SERVICE]]/Condition

 CreateFolder/CreateFolder

 util:User Id=UpdateUserLogonAsService UpdateIfExists=yes 
CreateUser=no Name=[SERVICEACCOUNT] LogonAsService=yes

 /util:User

/Component



!--Register the User to allow access to RSA Key to be able to decrypt the 
encrypted the service's configuration file --

SetProperty Id=RegisterForRSAKey

 Before=RegisterForRSAKey

 Sequence=execute

 
Value=quot;[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exequot;
 -pa quot;NetFrameworkConfigurationKeyquot; quot;[SERVICEACCOUNT]quot; /

 CustomAction

 Id=RegisterForRSAKey

 BinaryKey=WixCA

 DllEntry=CAQuietExec

 Execute=deferred

 Impersonate=yes

 Return='check'

 /CustomAction





The service gets installed using a custom local windows account not 
LocalSystem, The logon as service does get set. But...



If I try to start the service after installation the, service starts and stops 
automatically.

If I then add the custom local account to the local administrators group and 
then remove it again and then start the service the service starts.



Also what I tried after installing the service, is to change the service 
account to local system,

start the service which start fine, and then change the service account back to 
the local system account, the service starts.



I'm baffled on what can cause the service not to start right after it being 
installed.



My next option was to lose the wix service installer, and use installutil 
custom actions to install the service, which I tested using the exact same 
parameters with no problem,

but I don't really want to go that route if wix has the option for installing 
services.



Please help to get this service started.



Thanks in advance.

Christoffel





This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission

[WiX-users] Folders not removed on Windows Server 2012

2013-07-17 Thread Christoffel le Roux
Hi, When I uninstall a web site using my created MSI on Windows Server 2012 not 
all folders that where created by the installer does not get removed on 
uninstall, the folders are empty but still there.

When installing/uninstalling the same MSI in a Windows 8 machine all the files 
and folders that get created does get removed as expected.

Both machines has AUC enabled and the installers does get elevated.

I do have the correct RemoveFolder elements in the components.

I'm just not sure why it will work on one machine and not the next.

Please can anyone advise on how this is possible?

Thanks in advance.
Christoffel
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux

Hi, I'm trying to execute a PowerShell V3 script on installation using the 
following action

SetProperty Id=InstallSetupSPConfigCustomAction 
Before=InstallSetupSPConfigCustomAction Sequence=execute Value 
=quot;[POWERSHELLEXE]quot; -ExecutionPolicy ByPass -InputFormat None 
-Command quot;amp; '[#SetupSPConfig.ps1]' -i -v [ProductVersion] -fcUrl 
'[ACTIVITYSERVERURL]' ; exit $$($Error.Count)quot; /

Is there any way I can get the output from the script to be logged to the log 
file if the script fails, I'm having a hard time to figure out why the script 
is failing, all I get in the log file is

CAQuietExec64:  8??!??4?? 
???9????7?4???~?++???+?4?
 ?+???++?!? 
???.?5?
CAQuietExec64:  
?4++??++??++
CAQuietExec64:  Error 0x80070002: Command line returned an error.
CAQuietExec64:  Error 0x80070002: CAQuietExec64 Failed

I cannot read that :(

Although when running the commands generated by WIX from the command line on 
the target machine it works like a charm, just not during installation.

Please can someone advice.
Thank in advance
Christoff le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Hi, I'm trying to execute a PowerShell V3 script on installation using the 
following action

SetProperty Id=InstallSetupSPConfigCustomAction 
Before=InstallSetupSPConfigCustomAction Sequence=execute Value 
=quot;[POWERSHELLEXE]quot; -ExecutionPolicy ByPass -InputFormat None 
-Command quot;amp; '[#SetupSPConfig.ps1]' -i -v [ProductVersion] -fcUrl 
'[ACTIVITYSERVERURL]' ; exit $$($Error.Count)quot; /

Is there any way I can get the output from the script to be logged to the log 
file if the script fails, I'm having a hard time to figure out why the script 
is failing, all I get in the log file is

CAQuietExec64:  8??!??4?? 
???9????7?4???~?++???+?4?
 ?+???++?!? 
???.?5?
CAQuietExec64:  
?4++??++??++
CAQuietExec64:  Error 0x80070002: Command line returned an error.
CAQuietExec64:  Error 0x80070002: CAQuietExec64 Failed

I cannot read that :(

Although when running the commands generated by WIX from the command line on 
the target machine it works like a charm, just not during installation.

Please can someone advice.
Thank in advance
Christoff le Roux

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Ahh thanks a bunch Blair, my script indeed output some text while executing for 
logging purposes, so then I assume that no output should be returned from the 
script except for the exit code? How do you know when something goes wrong from 
reading the log file? Is it possible to achieve?

-Original Message-
From: Blair Murri [mailto:os...@live.com]
Sent: 03 July 2013 11:23 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] CAQuietExec64 log output to log file

Your string starting with 8? is the output from the script (with '?' used for 
all unmapped chars). My guess is that your script is returning wide chars while 
CAQuietExec is expecting whatever your system's default codepage is.

 From: christoffe...@flowcentric.com
 To: wix-users@lists.sourceforge.net
 Date: Wed, 3 Jul 2013 08:25:34 +
 Subject: [WiX-users] CAQuietExec64 log output to log file

 Hi, I'm trying to execute a PowerShell V3 script on installation using
 the following action

 SetProperty Id=InstallSetupSPConfigCustomAction
 Before=InstallSetupSPConfigCustomAction Sequence=execute Value
 =quot;[POWERSHELLEXE]quot; -ExecutionPolicy ByPass -InputFormat
 None -Command quot;amp; '[#SetupSPConfig.ps1]' -i -v
 [ProductVersion] -fcUrl '[ACTIVITYSERVERURL]' ; exit
 $$($Error.Count)quot; /

 Is there any way I can get the output from the script to be logged to
 the log file if the script fails, I'm having a hard time to figure out
 why the script is failing, all I get in the log file is

 CAQuietExec64:  8??!??4?? 
 ???9????7?4???~?++???+?4?
  ?+???++?!? 
 ???.?5?
 CAQuietExec64:  
 ?4++??++??++
 CAQuietExec64:  Error 0x80070002: Command line returned an error.
 CAQuietExec64:  Error 0x80070002: CAQuietExec64 Failed

 I cannot read that :(

 Although when running the commands generated by WIX from the command line on 
 the target machine it works like a charm, just not during installation.

 Please can someone advice.
 Thank in advance
 Christoff le Roux

 This information is intended only for the person or entity to which it is 
 addressed and may contain private, confidential, proprietary and/or 
 privileged material and may be subject to confidentiality agreements. Any 
 review, retransmission, dissemination, or any other use of or taking of any 
 action in reliance upon this information, by persons or entities other than 
 the intended recipient, is prohibited. If you received this in error, please 
 contact the sender and delete the material from all storage media. 
 FlowCentric is neither liable for proper, complete transmission of the 
 information contained in this communication, any delay in its receipt or that 
 the mail is virus-free.
 --
  This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CAQuietExec64 log output to log file

2013-07-03 Thread Christoffel le Roux
Awesome thanks Blair, I'm going to try as suggested and output some log from 
the script itself to a separate log file.

-Original Message-
From: Blair Murri [mailto:os...@live.com]
Sent: 03 July 2013 01:22 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CAQuietExec64 log output to log file

Determining success or failure is usually done from the exit code. Any code 
other than 0 is considered by Windows Installer to be a failure.

Normally we do want to see output from our scripts, preferably in the same log. 
I haven't used powershell in custom actions so I haven't looked to see how to 
set the codepage of the console, that may be what is needed. If you can't get 
the console spew right, you could try writing your own log file from your 
script. If you use environment variables from within your script to place the 
location of the log, know that variables such as TEMP may or may not differ 
from the invoking user for actions set to not impersonate (it may vary by 
platform or some other setting) so you may or may not have to search for the 
system temp for your log.

 From: christoffe...@flowcentric.com
 To: wix-users@lists.sourceforge.net
 CC: os...@live.com
 Subject: RE: [WiX-users] CAQuietExec64 log output to log file
 Date: Wed, 3 Jul 2013 10:43:13 +

 Ahh thanks a bunch Blair, my script indeed output some text while executing 
 for logging purposes, so then I assume that no output should be returned from 
 the script except for the exit code? How do you know when something goes 
 wrong from reading the log file? Is it possible to achieve?

 -Original Message-
 From: Blair Murri [mailto:os...@live.com]
 Sent: 03 July 2013 11:23 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] CAQuietExec64 log output to log file

 Your string starting with 8? is the output from the script (with '?' used for 
 all unmapped chars). My guess is that your script is returning wide chars 
 while CAQuietExec is expecting whatever your system's default codepage is.

  From: christoffe...@flowcentric.com
  To: wix-users@lists.sourceforge.net
  Date: Wed, 3 Jul 2013 08:25:34 +
  Subject: [WiX-users] CAQuietExec64 log output to log file
 
  Hi, I'm trying to execute a PowerShell V3 script on installation
  using the following action
 
  SetProperty Id=InstallSetupSPConfigCustomAction
  Before=InstallSetupSPConfigCustomAction Sequence=execute Value
  =quot;[POWERSHELLEXE]quot; -ExecutionPolicy ByPass -InputFormat
  None -Command quot;amp; '[#SetupSPConfig.ps1]' -i -v
  [ProductVersion] -fcUrl '[ACTIVITYSERVERURL]' ; exit
  $$($Error.Count)quot; /
 
  Is there any way I can get the output from the script to be logged
  to the log file if the script fails, I'm having a hard time to
  figure out why the script is failing, all I get in the log file is
 
  CAQuietExec64:  8??!??4?? 
  ???9????7?4???~?++???+?4?
   ?+???++?!? 
  ???.?5?
  CAQuietExec64:  
  ?4++??++??++
  CAQuietExec64:  Error 0x80070002: Command line returned an error.
  CAQuietExec64:  Error 0x80070002: CAQuietExec64 Failed
 
  I cannot read that :(
 
  Although when running the commands generated by WIX from the command line 
  on the target machine it works like a charm, just not during installation.
 
  Please can someone advice.
  Thank in advance
  Christoff le Roux
 
  This information is intended only for the person or entity to which it is 
  addressed and may contain private, confidential, proprietary and/or 
  privileged material and may be subject to confidentiality agreements. Any 
  review, retransmission, dissemination, or any other use of or taking of any 
  action in reliance upon this information, by persons or entities other than 
  the intended recipient, is prohibited. If you received this in error, 
  please contact the sender and delete the material from all storage media. 
  FlowCentric is neither liable for proper, complete transmission of the 
  information contained in this communication, any delay in its receipt or 
  that the mail is virus-free.
  
  --
   This SF.net email is sponsored by Windows:
 
  Build for Windows Store.
 
  http://p.sf.net/sfu/windows-dev2dev
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users

 --
  This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 

Re: [WiX-users] Installing service using domain account

2013-01-18 Thread Christoffel le Roux
Using an elevated command prompt the service installs fine, I did add 
InstallPrivileges=elevated and removed Property 
Id=MSIUSEREALADMINDETECTION Value=1 / but with no luck still :(

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 17 January 2013 04:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the 
service. So had to handle the message box in myself in the IEmbeddedUI derived 
class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command prompt 
window .

Now I just need to figure out why my MSI is not getting elevated eusven though 
I have the Property Id=MSIUSEREALADMINDETECTION Value=1 / property in the 
WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the You do not have privileges error pops up when installing the 
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are 
installed.
4. Usually I find that a dll is not installed in the correct place or the 
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the 
error message so you have to try to install the service yourself in the context 
of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen alb...@insad.nl wrote:

 I guess the windows installer service has no rights on the domain as
 it is run as a local only service (local system account).
 I think you need some form of impersonification to use a domain user
 or another option might be to run the windows installer service on an
 account which has domain access (Add a Installer account to the active
 directory which has system access to machines and add a domain policy
 so all machines run the windows installer service with this account).

 Just my thoughts :)

 Best regards,

 Albert van Peppen
 Senior System Engineer

 -Oorspronkelijk bericht-
 Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Verzonden: 16 January 2013 13:13
 Aan: General discussion for Windows Installer XML toolset.
 Onderwerp: Re: [WiX-users] Installing service using domain account

 No problem.

 The serviceaccount property should be in the format domain\user Check
 the value in the property dump at the end of the verbose log. If the
 format is wrong, it will issue that error.

 If you set start=demand, the service won't run at install time.

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 12:00
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 I did try to install the service without starting it after install,
 but could not figure out how the ServiceInstaller's properties should work?

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 01:44 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 The only (not) usefull thing in the log file is

 Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
 Verify that you have sufficient privileges to install system services.
 MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
 Service 'ServiceName' (ServiceName) could not be installed.  Verify
 that you have sufficient privileges to install system services.

 Thanks for the help :)

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 16 January 2013 01:38 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 Are there any clues in a verbose log ?

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 11:30
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 I just added a custom installer class to test if the service will
 install using InstallUtil, I't doesn't do anything special like custom 
 actions.

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 16 January 2013 01:26 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 What is installutil doing

Re: [WiX-users] Installing service using domain account

2013-01-17 Thread Christoffel le Roux
Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the 
service. So had to handle the message box in myself in the IEmbeddedUI derived 
class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command prompt 
window .

Now I just need to figure out why my MSI is not getting elevated even though I 
have the Property Id=MSIUSEREALADMINDETECTION Value=1 / property in the 
WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the You do not have privileges error pops up when installing the 
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are 
installed.
4. Usually I find that a dll is not installed in the correct place or the 
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the 
error message so you have to try to install the service yourself in the context 
of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen alb...@insad.nl wrote:

 I guess the windows installer service has no rights on the domain as
 it is run as a local only service (local system account).
 I think you need some form of impersonification to use a domain user
 or another option might be to run the windows installer service on an
 account which has domain access (Add a Installer account to the active
 directory which has system access to machines and add a domain policy
 so all machines run the windows installer service with this account).

 Just my thoughts :)

 Best regards,

 Albert van Peppen
 Senior System Engineer

 -Oorspronkelijk bericht-
 Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Verzonden: 16 January 2013 13:13
 Aan: General discussion for Windows Installer XML toolset.
 Onderwerp: Re: [WiX-users] Installing service using domain account

 No problem.

 The serviceaccount property should be in the format domain\user Check
 the value in the property dump at the end of the verbose log. If the
 format is wrong, it will issue that error.

 If you set start=demand, the service won't run at install time.

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 12:00
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 I did try to install the service without starting it after install,
 but could not figure out how the ServiceInstaller's properties should work?

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 01:44 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 The only (not) usefull thing in the log file is

 Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
 Verify that you have sufficient privileges to install system services.
 MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
 Service 'ServiceName' (ServiceName) could not be installed.  Verify
 that you have sufficient privileges to install system services.

 Thanks for the help :)

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 16 January 2013 01:38 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 Are there any clues in a verbose log ?

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 11:30
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 I just added a custom installer class to test if the service will
 install using InstallUtil, I't doesn't do anything special like custom 
 actions.

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 16 January 2013 01:26 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 What is installutil doing ? The installer won't run any install class code.

 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: 16 January 2013 11:17
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Installing service using domain account

 Hi Peter, the service installs perfectly using InstallUtil, an sc.exe,
 I have no Idea why it's doing what it is.

 -Original Message

[WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 
 Account=[SERVICEACCOUNT] 
Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall
Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on MSDN
The domain account is configured as Log On As Service in the local machine 
policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong,
but no list exist of the number of things to be able to eliminate the 
possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.
FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.

FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Result from installing using sc

D:\sc create TestService binPath= Service1.exe type= own start= auto error= 
normal obj= * DisplayName= Jannie password= *
[SC] CreateService SUCCESS

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.

FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.  Verify 
that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.


FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
I did try to install the service without starting it after install, but could 
not figure out how the ServiceInstaller's properties should work?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.  Verify 
that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Hi Perter, yes I had to remove some sensitive information,

If you install the service as local system and network service it works like 
peanut butter and jelly on toast :) just when using any existing Windows 
account it moans.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 02:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I'm assuming your installer is per-machine so it's not an elevation problem ?
You have servicename  in your error but service1 in the code - is that just 
you editing before you post ?
Have you tried installing using the default service account (by omitting any 
account details) ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
Verify that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.

ServiceInstall  Id=EventManagerServiceInstall
Name=Service1
DisplayName=Service1
Type=ownProcess
Interactive=no
Start=auto
Vital=yes
ErrorControl=normal
Description= Service 
Description 

Account=[SERVICEACCOUNT] Password=[SERVICEACCOUNTPASSWORD]/
 ServiceControl  Id=EventManagerServiceControl
Name= Service1
Stop=both
Remove=uninstall

Wait=yes/ServiceControl

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as Log On As Service in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things

[WiX-users] Secure util:XmlConfig output

2013-01-09 Thread Christoffel le Roux
Hi, I use util:XmlConfig to update a configuration file, is there a way to 
secure the output to the log file similar is HideTarget on custom actions or 
hidden on properties to hide sensitive information being logged.



Thanks

Christoff

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Secure util:XmlConfig output

2013-01-09 Thread Christoffel le Roux
I've added

 Property Id=ExecXmlConfig Hidden=yes/Property

 to the collection of properties to resolve this issue.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 09 January 2013 10:33 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Secure util:XmlConfig output

Hi, I use util:XmlConfig to update a configuration file, is there a way to 
secure the output to the log file similar is HideTarget on custom actions or 
hidden on properties to hide sensitive information being logged.



Thanks

Christoff

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Haverting features containing the same sub directories using msbuild

2012-09-11 Thread Christoffel le Roux
Hi, I harvest feature files using the heat MSBuild tasks.

If the features allow for the installation of the application of in selectable 
parts.

If the harvested directories contain the same sub folders let's say a 'bin' the 
a component with the same id is generated by heat. I then get a lovely build 
error.

Is there any way to resolve this issue maybe a different way to composition the 
features of harvesting directories?



Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votiv - Add file as link

2012-09-07 Thread Christoffel le Roux
Thanks Rob

Kind regards,
Christoffel le Roux


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Thursday, September 06, 2012 6:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Votiv - Add file as link

Not likely since no one is actively working on Votive. Also, WiX v3.7 is 
focused on fixing bugs/filling in the gaps in Burn experience mostly.

On Thu, Sep 6, 2012 at 4:32 AM, Christoffel le Roux  
christoffe...@tech.flowcentric.com wrote:

 I see there's already a bug logged for this feature on 2007-03-28, 
 think this will be closed any time soon ?


 http://sourceforge.net/tracker/?func=detailatid=642717aid=1689733gr
 oup_id=105970

 Kind regards,
 Christoffel le Roux




 -Original Message-
 From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
 Sent: Thursday, September 06, 2012 1:27 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Votiv - Add file as link

 Hi, Is to possible using WIX 3.7 to add WIX files as link using the 
 Add as link option. I tried doing so but when building the WIX build 
 task tries to resolve the files from the current directory.

 Thanks

 Kind regards,
 Christoffel le Roux

 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Votiv - Add file as link

2012-09-06 Thread Christoffel le Roux
Hi, Is to possible using WIX 3.7 to add WIX files as link using the Add as 
link option. I tried doing so but when building the WIX build task tries to 
resolve the files from the current directory.

Thanks

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votiv - Add file as link

2012-09-06 Thread Christoffel le Roux
I see there's already a bug logged for this feature on 2007-03-28, think this 
will be closed any time soon ?

http://sourceforge.net/tracker/?func=detailatid=642717aid=1689733group_id=105970

Kind regards,
Christoffel le Roux




-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: Thursday, September 06, 2012 1:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Votiv - Add file as link

Hi, Is to possible using WIX 3.7 to add WIX files as link using the Add as 
link option. I tried doing so but when building the WIX build task tries to 
resolve the files from the current directory.

Thanks

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixNetfxExtension Detect .net 4.5 explicitly

2012-09-03 Thread Christoffel le Roux

Hi guys, is it possible to use WixNetfxExtension to detect .Net 4.5 explicitly, 
I looked at the documentation at
http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm but can only find 
references to .Net 4.0. I know that installing .Net 4.5 it replaces 4.0 in 
place, I need to know if 4.5 is installed, can I maybe use WixNetfxExtension to 
detect the version?

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Chain multiple prerequisites using burn.

2012-08-30 Thread Christoffel le Roux
Ha-ha, duh yes  you can... but 'There can only be one' prerequisite... My idea 
was that all application prerequisites gets the 'IsPrerequisite' flag set in 
the Ba's XML payload. I used the flag to indicate the prerequisites in the BA 
UI, now that functionality is relying on the 'Permanent' flag.  I also figured 
out after a few minutes of googling around that setting the After attribute on 
the package elements gets the prerequisites installed in the right order.  But 
I still need to find out how to indicate packages dependencies, for when a 
feature in the  BA UI the features required by the current needs to be selected 
as well? I'll continue the adventure.

Kind regards,

Christoffel le Roux


-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: Wednesday, August 29, 2012 3:54 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Chain multiple prerequisites using burn.

Do you guys think it will be feasible to start on my own bootstapper 
application implementation rather than using burn for installing multiple 
prerequisites?

Kind regards,
Christoffel le Roux



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Wednesday, August 29, 2012 3:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Chain multiple prerequisites using burn.

Hi guys, Is it possible to install multiple prerequisites using burn?

You can only specify one WixMbaPrereqPackageId element according to the schema 
and I also tried

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
  ExePackage Id=VSTOSERuntime
   Cache=no
   Compressed=no
   PerMachine=yes
   Permanent=yes
   Vital=yes
   SourceFile=Redist\VSTOSERuntime\vstor.exe
   InstallCommand=/q /norestart /lang:ENU
   RepairCommand=/q /norestart /lang:ENU
   UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
/PackageGroup


And

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup

PackageGroup Id=VSTOSERuntime
  ExePackage Id=VSTOSERuntime
 Cache=no
 Compressed=no
 PerMachine=yes
 Permanent=yes
 Vital=yes
 SourceFile=Redist\VSTOSERuntime\vstor.exe
 InstallCommand=/q /norestart /lang:ENU
 RepairCommand=/q /norestart /lang:ENU
 UninstallCommand=/q /norestart /lang:ENU
   DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup


But with no luck, I cannot get the IsPrerequisite flag to be set on both the 
prerequisite packages.

Can someone please explain to me how to do this.

Thanks allot


Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest

Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-30 Thread Christoffel le Roux
Hi, I think I found the culprit, is there any way I can override the 
MSICLIENTUSESEXTERNALUI property that gets sent to the MSI package?

Kind regards,
Christoffel le Roux



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: Thursday, August 23, 2012 12:40 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi Neil, I upgraded to 3.7 to see if it will make any difference to my problem 
:), thanks for the help I really appreciate.

Kind regards,
Christoffel le Roux

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Thursday, August 23, 2012 12:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

It might be worth dropping back to 3.6, 3.7 is very new.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 23 August 2012 10:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi Neil, I'm on the latest 3.7 build. If I place a breakpoint inside my 
IEmbeddedUI implementation the 'Run' method is never hit.

Kind regards,
Christoffel le Roux




-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Wednesday, August 22, 2012 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Not sure if this is what you want but you can set 
MsiPackage/@DisplayInternalUI=yes to display your MSI UI.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 22 August 2012 09:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https

Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-30 Thread Christoffel le Roux
I've tried using to see if I can get the embedded UI to pitch.

ExePackage Id=eventManagerPackage
 DisplayName=$(var.ProductName)
 Compressed=no
 Permanent=no
 Vital=yes
 PerMachine=default
 Cache=no
 Protocol=none
 SourceFile=$(var.EventManagerSetup.TargetPath)
  /ExePackage


But end up with the following error 

[1030:0DCC][2012-08-30T10:03:27]: Error 0x800700c1: Failed to CreateProcess on 
path: C:\ProgramData\Package 
Cache\33C787840CC55B86C3C47B1BFF0A0C820242D988\Product x64.msi
[1030:0DCC][2012-08-30T10:03:27]: Error 0x800700c1: Failed to execute EXE 
package.
[03B8:0888][2012-08-30T10:03:27]: Error 0x800700c1: Failed to configure 
per-machine EXE package.

Kind regards,
Christoffel le Roux




-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: Thursday, August 30, 2012 10:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, I think I found the culprit, is there any way I can override the 
MSICLIENTUSESEXTERNALUI property that gets sent to the MSI package?

Kind regards,
Christoffel le Roux



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Thursday, August 23, 2012 12:40 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi Neil, I upgraded to 3.7 to see if it will make any difference to my problem 
:), thanks for the help I really appreciate.

Kind regards,
Christoffel le Roux

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Thursday, August 23, 2012 12:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

It might be worth dropping back to 3.6, 3.7 is very new.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 23 August 2012 10:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi Neil, I'm on the latest 3.7 build. If I place a breakpoint inside my 
IEmbeddedUI implementation the 'Run' method is never hit.

Kind regards,
Christoffel le Roux




-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Wednesday, August 22, 2012 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Not sure if this is what you want but you can set 
MsiPackage/@DisplayInternalUI=yes to display your MSI UI.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 22 August 2012 09:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

[WiX-users] Adding votiv project as reference to another

2012-08-30 Thread Christoffel le Roux
Hi, I'm trying to create my own bootstrap, but I'm having trouble referencing 
the Votiv project from a WPF application. I know this is probably a project 
template issue. What I want to achieve is to copy the output from the Votiv 
project to the output folder of the WPF application when building the Votiv 
project is completed. I tried referencing the project by editing the csproj 
file, it builds but throws errors when trying to copy the MSI file. Can anyone 
please guide me in the right direction please.

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed Custom Action using CAS

2012-08-29 Thread Christoffel le Roux
Hi thanks for all the help, I resolved my issue by just reverting the custom 
action back to .net 2 and specifying the correct framework version in my custom 
action configuration file. 

This was the simplest way to support the older installer code. As stated by 
Jacob there wasn't any reason for the custom action to be on runtime 2 as well, 

as updating the plugin to use a newer CAS model for newer versions of office 
was not currently an option.


Kind regards,
Christoffel le Roux


-Original Message-
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Tuesday, August 28, 2012 7:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Managed Custom Action using CAS

I've never done one of those myself, but a bit of search engine foo shows a few 
potential links 
http://social.msdn.microsoft.com/Forums/eu/vsto/thread/f46b54a0-0fc3-4a76-a47c-aad05e31bb86
 , 
http://social.msdn.microsoft.com/Forums/en/vsto/thread/890cb60c-11f6-4fea-8a44-e520341f3331
 , and 
http://stackoverflow.com/questions/3089567/is-it-possible-to-create-an-office-2003-vsto-add-in-from-visual-studio-2010
 . From the second link I find:

Different Visual Studio Versions
 
1. Visual Studio 2010 supports creating VSTO 3.0 and VSTO 4.0 solutions.
 
2. Visual Studio 2008 supports creating VSTO 2.0 and VSTO 3.0 solutions.
 
-
 
Different VSTO Versions
 
1. VSTO 2.0 solutions work with Office 2003 and Office 2007
 
2. VSTO 3.0 solutions work with Office 2007 and Office 2010
 
-

Since you stated you needed an Office 2003 VSTO, I don't think it would be 
possible to have it using the 4.0 framework (for the addin). As such, what 
benefit are you getting by upgrading the CA DLL? If you need the old behavior 
and a new feature then you could have 2 CA DLL's; one targeting 4.0 for the new 
stuff and one targeting 2.0 for the old CAS calls.

If you want to continue to try to get 4.0 to work, then the actual framework 
call that is failing (the source to CustomAction.GetPolicyLevel ) would be 
helpful.


-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Tuesday, August 28, 2012 9:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Managed Custom Action using CAS

Hi Jacob, 

Thanks for the reply, I'm installing an office 2003 VSTO project and using the 
custom action which in turn needs the CAS policy methods to register the DLL as 
safe to be consumed by Office.

Kind regards,
Christoffel le Roux


-Original Message-
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com]
Sent: Tuesday, August 28, 2012 4:22 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Managed Custom Action using CAS

I guess the real question would be do you even need this in .Net 4? 
http://blogs.msdn.com/b/shawnfa/archive/2010/02/24/so-is-cas-dead-in-net-4-or-what.aspx
 What is the custom action trying to accomplish with CAS?


-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Tuesday, August 28, 2012 9:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Managed Custom Action using CAS

Hi, I have upgraded an old installer to a wix 3.7 custom action project that 
uses the old CAS policy methods. I've upgraded the solution to runtime 4 and 
resulted receiving the exception

This method explicitly uses CAS policy, which has been obsoleted by the .NET 
Framework.

// Get the policy level.
PolicyLevel policyLevel = CustomAction.GetPolicyLevel(SomePolicyLabel);

In order to enable CAS policy for compatibility reasons,

please use the NetFx40_LegacySecurityPolicy configuration switch. Please see 
http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

Following the link I ended up specifying in the CustomAction.config file to use 
the legacy CAS method overloads.

?xml version=1.0 encoding=utf-8 ?
configuration
startup useLegacyV2RuntimeActivationPolicy=true
supportedRuntime version=v4.0 sku=.NETFramework,Version=v4.0/
supportedRuntime version=v2.0.50727/
/startup
  runtime
NetFx40_LegacySecurityPolicy enabled=true/
  /runtime
/configuration

I've tried a bunch of things to resolve the issue but with no luck.

Any ideas anyone?

Thanks in advanced.

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net

[WiX-users] Verify if registry key exist with no default value.

2012-08-29 Thread Christoffel le Roux
Hi guys, isn't doing installers FUN?  LOL

I know from the previous versions of WIX that you could not verify if a 
registry key exist using a RegistrySearch you had to create a custom action to 
do so.

But I found this is the schema documentation v3.? of RegistrySearch:

Result   Enumeration  Rather than saving the matching registry value into 
the variable, a RegistrySearch can save an attribute of the matching entry 
instead. This attribute's value must be one of the following:
exists
Saves true if a matching registry entry is found; false otherwise.
value
Saves the value of the registry key in the variable. This is the default.

But this does not exist any more :(

It there a new way of doing this?

Thanks

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Chain multiple prerequisites using burn.

2012-08-29 Thread Christoffel le Roux
Hi guys, Is it possible to install multiple prerequisites using burn?

You can only specify one WixMbaPrereqPackageId element according to the schema 
and I also tried

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
  ExePackage Id=VSTOSERuntime
   Cache=no
   Compressed=no
   PerMachine=yes
   Permanent=yes
   Vital=yes
   SourceFile=Redist\VSTOSERuntime\vstor.exe
   InstallCommand=/q /norestart /lang:ENU
   RepairCommand=/q /norestart /lang:ENU
   UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
/PackageGroup


And

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup

PackageGroup Id=VSTOSERuntime
  ExePackage Id=VSTOSERuntime
 Cache=no
 Compressed=no
 PerMachine=yes
 Permanent=yes
 Vital=yes
 SourceFile=Redist\VSTOSERuntime\vstor.exe
 InstallCommand=/q /norestart /lang:ENU
 RepairCommand=/q /norestart /lang:ENU
 UninstallCommand=/q /norestart /lang:ENU
   DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup


But with no luck, I cannot get the IsPrerequisite flag to be set on both the 
prerequisite packages.

Can someone please explain to me how to do this.

Thanks allot


Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Chain multiple prerequisites using burn.

2012-08-29 Thread Christoffel le Roux
Do you guys think it will be feasible to start on my own bootstapper 
application implementation rather than using burn for installing multiple 
prerequisites?

Kind regards,
Christoffel le Roux



-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: Wednesday, August 29, 2012 3:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Chain multiple prerequisites using burn.

Hi guys, Is it possible to install multiple prerequisites using burn?

You can only specify one WixMbaPrereqPackageId element according to the schema 
and I also tried

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
  ExePackage Id=VSTOSERuntime
   Cache=no
   Compressed=no
   PerMachine=yes
   Permanent=yes
   Vital=yes
   SourceFile=Redist\VSTOSERuntime\vstor.exe
   InstallCommand=/q /norestart /lang:ENU
   RepairCommand=/q /norestart /lang:ENU
   UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage
/PackageGroup


And

PackageGroup Id=Netfx35
  ExePackage Id=Netfx35
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
SourceFile=Redist\DotNetFX35SP1\dotnetfx35.exe
InstallCommand=/q /norestart /lang:ENU
RepairCommand=/q /norestart /lang:ENU
UninstallCommand=/q /norestart /lang:ENU
 DetectCondition=Netfx35Version AND (NOT VersionNT64 OR 
Netfx35x64Version)
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup

PackageGroup Id=VSTOSERuntime
  ExePackage Id=VSTOSERuntime
 Cache=no
 Compressed=no
 PerMachine=yes
 Permanent=yes
 Vital=yes
 SourceFile=Redist\VSTOSERuntime\vstor.exe
 InstallCommand=/q /norestart /lang:ENU
 RepairCommand=/q /norestart /lang:ENU
 UninstallCommand=/q /norestart /lang:ENU
   DetectCondition=VSTORTVERSION
ExitCode Value =3010 Behavior=forceReboot /
  /ExePackage

/PackageGroup


But with no luck, I cannot get the IsPrerequisite flag to be set on both the 
prerequisite packages.

Can someone please explain to me how to do this.

Thanks allot


Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Managed Custom Action using CAS

2012-08-28 Thread Christoffel le Roux
Hi, I have upgraded an old installer to a wix 3.7 custom action project that 
uses the old CAS policy methods. I've upgraded the solution to runtime 4 and 
resulted receiving the exception

This method explicitly uses CAS policy, which has been obsoleted by the .NET 
Framework.

// Get the policy level.
PolicyLevel policyLevel = CustomAction.GetPolicyLevel(SomePolicyLabel);

In order to enable CAS policy for compatibility reasons,

please use the NetFx40_LegacySecurityPolicy configuration switch. Please see 
http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

Following the link I ended up specifying in the CustomAction.config file to use 
the legacy CAS method overloads.

?xml version=1.0 encoding=utf-8 ?
configuration
startup useLegacyV2RuntimeActivationPolicy=true
supportedRuntime version=v4.0 sku=.NETFramework,Version=v4.0/
supportedRuntime version=v2.0.50727/
/startup
  runtime
NetFx40_LegacySecurityPolicy enabled=true/
  /runtime
/configuration

I've tried a bunch of things to resolve the issue but with no luck.

Any ideas anyone?

Thanks in advanced.

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed Custom Action using CAS

2012-08-28 Thread Christoffel le Roux
Hi Jacob, 

Thanks for the reply, I'm installing an office 2003 VSTO project and using the 
custom action which in turn needs the CAS policy methods to register the DLL as 
safe to be consumed by Office.

Kind regards,
Christoffel le Roux


-Original Message-
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Tuesday, August 28, 2012 4:22 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Managed Custom Action using CAS

I guess the real question would be do you even need this in .Net 4? 
http://blogs.msdn.com/b/shawnfa/archive/2010/02/24/so-is-cas-dead-in-net-4-or-what.aspx
 What is the custom action trying to accomplish with CAS?


-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Tuesday, August 28, 2012 9:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Managed Custom Action using CAS

Hi, I have upgraded an old installer to a wix 3.7 custom action project that 
uses the old CAS policy methods. I've upgraded the solution to runtime 4 and 
resulted receiving the exception

This method explicitly uses CAS policy, which has been obsoleted by the .NET 
Framework.

// Get the policy level.
PolicyLevel policyLevel = CustomAction.GetPolicyLevel(SomePolicyLabel);

In order to enable CAS policy for compatibility reasons,

please use the NetFx40_LegacySecurityPolicy configuration switch. Please see 
http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

Following the link I ended up specifying in the CustomAction.config file to use 
the legacy CAS method overloads.

?xml version=1.0 encoding=utf-8 ?
configuration
startup useLegacyV2RuntimeActivationPolicy=true
supportedRuntime version=v4.0 sku=.NETFramework,Version=v4.0/
supportedRuntime version=v2.0.50727/
/startup
  runtime
NetFx40_LegacySecurityPolicy enabled=true/
  /runtime
/configuration

I've tried a bunch of things to resolve the issue but with no luck.

Any ideas anyone?

Thanks in advanced.

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom action support files.

2012-08-27 Thread Christoffel le Roux
Hi, I have a custom action that processes a directory of files (almost like SQL 
scripts, it contains language pack information) upon installation.

I cannot find a way to include the folder of files into the MSI to be able to 
access them from the custom action.

The catch is that these file do not get deployed on the target system just used 
during the installation process.

Can any please help.

Thanks in advance.

Kind regards,
Christoffel le Roux
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom action support files.

2012-08-27 Thread Christoffel le Roux
Hi I've come up with the following plan

You harvest the temporary files needed for the installation...

ItemGroup Label=TempBuildOutputPath
HarvestDirectory Include=..\..\..\BuildOutput\ProductName\Temp
  SuppressRootDirectoryTrue/SuppressRootDirectory
  ComponentGroupNameTempFilesComponentGroup/ComponentGroupName
  KeepEmptyDirectoriesTrue/KeepEmptyDirectories
  DirectoryRefIdTempFolder/DirectoryRefId
  SuppressRegistryTrue/SuppressRegistry
  PreprocessorVariablevar.TempBuildOutputPath/PreprocessorVariable
  LinkTempFilesComponentGroup/Link
/HarvestDirectory
  /ItemGroup

You install the files to some temporary location...

Directory Id=TARGETDIR Name=SourceDir
!--Program Files--
Directory Id=ProgramFilesFolder
Directory Id=BINARIESINSTALLLOCATION 
Name=TheProduct//Directory
/Directory
!--Installer Temporary Files--
Directory Id=TempFolder 
/Directory
/Directory


Pass the temp path folder to the custom action when executing

Property Id= SomeCustomAction  Admin=yes/

CustomAction Id=SetSomeCustomAction Property= SomeCustomAction  Value=[ 
TempFolder]  /
CustomAction Id=SomeCustomAction BinaryKey=DataActions.dll 
DllEntry=SomeAction Execute=deferred Impersonate=no/

Custom Action=SetSomeCustomAction After=InstallFiles/Custom
Custom Action=SomeCustomAction 
After=SetUpgradeDatabaseCustomAction![CDATA[(NOT Installed)]]/Custom


Then in the custom action access the files 

[CustomAction]
public static ActionResult CreateDatabase(Session session)
{
var  tempPath = session[CustomActionData];
return ActionResult.Failure;
}

Is any better / best practice on how to do this kind of thing?

Kind regards,
Christoffel le Roux


-Original Message-
From: Vazhenin, Maksim [mailto:maksim.vazhe...@emc.com] 
Sent: Monday, August 27, 2012 11:16 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action support files.

What are you trying to do? Perform an upgrade from product1.0 to product2.0?

-Original Message-
From: M.S. Mohideen [mailto:mohiud...@hotmail.com] 
Sent: Monday, August 27, 2012 1:00 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom action support files.


Hi,
I have tried using all kinds of installers to build an msi after modifying 
original msi file. All the installers do build the msi file but when the 
application is launched it returns a side-by-side configuration error message. 
When I build the msi without making any changes to the original files it works 
without any issues. The conclusion is that the msi can be only built with the 
original files intact and any alterations (especially in the .dll files) does 
not work. 
One particular msibuilder software from emcosoft does build the msi properly 
and the altered file also is copied to the application folder. However, when 
the shortcut icon is clicked, instead of launching the application, it runs an 
installation again and the modified file is replaced with the original file 
thus bringing the application back to its original state loosing all the 
modification done.
I fail to understand the need of an msi builder if we cannot make the required 
changes. The original msi file can be used without having to go through the 
whole exercise. Could somebody please help me out with this?
Thanks and best regards.
Mohideen. 

  
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile

Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-23 Thread Christoffel le Roux
Hi Neil, I'm on the latest 3.7 build. If I place a breakpoint inside my 
IEmbeddedUI implementation the 'Run' method is never hit.

Kind regards,
Christoffel le Roux




-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Wednesday, August 22, 2012 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Not sure if this is what you want but you can set 
MsiPackage/@DisplayInternalUI=yes to display your MSI UI.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 22 August 2012 09:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-23 Thread Christoffel le Roux
Hi Neil, I upgraded to 3.7 to see if it will make any difference to my problem 
:), thanks for the help I really appreciate.

Kind regards,
Christoffel le Roux

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Thursday, August 23, 2012 12:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

It might be worth dropping back to 3.6, 3.7 is very new.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 23 August 2012 10:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi Neil, I'm on the latest 3.7 build. If I place a breakpoint inside my 
IEmbeddedUI implementation the 'Run' method is never hit.

Kind regards,
Christoffel le Roux




-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Wednesday, August 22, 2012 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Not sure if this is what you want but you can set 
MsiPackage/@DisplayInternalUI=yes to display your MSI UI.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 22 August 2012 09:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114

Re: [WiX-users] Burn custom managed UI not starting

2012-08-23 Thread Christoffel le Roux
Hi, I think you mabe need the following in your Assembly.cs 

[assembly: BootstrapperApplication(typeof(Bootstrap))]

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000 
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.





-Original Message-
From: Adkins, Christopher [mailto:christopher.adk...@docuware.com] 
Sent: Thursday, August 23, 2012 12:11 PM
To: General discussion for Windows Installer XML toolset. 
(wix-users@lists.sourceforge.net)
Subject: [WiX-users] Burn custom managed UI not starting

Hi everyone,

I am trying to get a custom burn UI working, but I can't even get it to start. 
I have looked at the WiXUX project as an example, but I am stuck on what I am 
doing wrong. The log tells me:

[0428:0BC8][2012-08-23T12:04:17]: Burn v3.6.2928.0, Windows v6.1 (Build 7600: 
Service Pack 0), path: C:\Users\Administrator\Desktop\WebSetup.exe, cmdline: 
'-burn.unelevated BurnPipe.{6CBBF06B-E4A0-46FA-9AAA-7375658D17A8} 
{E0D4EE1A-96F0-4E5C-B8FF-38EF4623E92D} 2064'
[0428:0BC8][2012-08-23T12:04:17]: Setting string variable 'WixBundleLog' to 
value 'C:\Temp\WebSetup.Bootstrapper_20120823120417.log'
[0428:0BC8][2012-08-23T12:04:17]: Setting string variable 
'WixBundleOriginalSource' to value 'C:\Users\Administrator\Desktop\WebSetup.exe'
[0428:0BC8][2012-08-23T12:04:18]: Setting string variable 'WixBundleName' to 
value 'WebSetup.Bootstrapper'
[0428:0BC8][2012-08-23T12:04:18]: Loading managed bootstrapper application.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to create the 
managed bootstrapper application.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to create UX.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to load UX.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed while running
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleAction = 4
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleElevated = 1
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleLog = 
C:\Temp\WebSetup.Bootstrapper_20120823120417.log
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleName = 
WebSetup.Bootstrapper
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleOriginalSource = 
C:\Users\Administrator\Desktop\WebSetup.exe
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleProviderKey = 
{a153399e-410b-41a3-aa5c-d6391841f7f7}
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleTag =
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleVersion = 1.0.0.0
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to run per-user mode.
[0428:0BC8][2012-08-23T12:04:18]: Exit code: 0x80070002, restarting: No

The call to the bootstrapper looks like this:

BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost'
 Payload Name='BootstrapperCore.config' SourceFile='C:\tfs 
\Main\binSetup\Release\Bootstrapper.BootstrapperCore.config' /
 Payload SourceFile='C:\tfs\ Main\binSetup\Release\Bootstrapper.dll' 
/ /BootstrapperApplicationRef

And finally the BootstrapperCore.Config looks like this:


?xml version=1.0 encoding=UTF-8?

configuration

 configSections

  sectionGroup name=wix.bootstrapper 
type=Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup,
 BootstrapperCore

  section name=host 
type=Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, 
BootstrapperCore /

 /sectionGroup

 /configSections

 startup useLegacyV2RuntimeActivationPolicy=true

 supportedRuntime version=v4.0 /

 /startup

 wix.bootstrapper

 host assemblyName=Bootstrapper.dll

  supportedFramework version=v4\Full /

  supportedFramework version=v4\Client /

 /host

 /wix.bootstrapper

/configuration

I have also tried

[WiX-users] Burn CLIENTUILEVEL

2012-08-22 Thread Christoffel le Roux
Hi guys, are there any way to set the CLIENTUILEVEL for a single bundled MSI 
package during installation?, currently what I can see is no matter what I do 
it default to CLIENTUILEVEL=0.

Thanks in advance.

Christoffel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-22 Thread Christoffel le Roux
Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn CLIENTUILEVEL

2012-08-22 Thread Christoffel le Roux
Hi Niel, thanks for the reply. I've tried setting the DisplayInternalUI to yes, 
but it seems to still try to execute the MSI using basic or min ui, in order 
for the embedded ui to be initialized the command line arguments for the 
package need to send a full UI request. At the moment what I can see is than 
the command line being sent to the MSI package is overriding the CLIENTUILEVEL 
setting by appending CLIENTUILEVEL=0 at the end of the arguments. Like:

Command Line: ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL=7 CLIENUILEVEL=3 
REBOOT=ReallySuppress CURRENTDIRECTORY= CLIENTUILEVEL=0 
MSICLIENTUSESEXTERNALUI=1 CLIENTPROCESSID=8556

In the above line found in the MSI's log file, I set the CLIENUILEVEL=3 but 
burn append their MSI arguments to the end of the command line, I bet if burn 
appended the burn MSI argument at the start of the command line, my custom 
variable will not get overridden.

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000 
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.





-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Wednesday, August 22, 2012 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Not sure if this is what you want but you can set 
MsiPackage/@DisplayInternalUI=yes to display your MSI UI.

Neil

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 22 August 2012 09:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn CLIENTUILEVEL

Hi, What I need to achieve is displaying the Embedded UI in my MSI packages. I 
know I could just create a custom BA UI and use that, but all my setup projects 
needs to be able to install and manage the installation of multiple instances. 
Since there's no way to ask burn to apply a transform to an package I had to 
create the embedded UI's to achieve this. Please can anyone advise.

Kind regards,
Christoffel le Roux


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall does NOT remove service during uninstall

2012-08-21 Thread Christoffel le Roux
)\FlowCentric.EventManager.exe.config /
/Component
Component Id=cmpA516A596004C93A32219B5A783643E92 Guid=*
File Id=filEC95D15EAAAFEDBC61B0B75642D716D8 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.exe.lastcodeanalysissucceeded
 /
/Component
Component Id=cmpD24004DD6B2CCFF5EED9034C65AC286D Guid=*
File Id=fil593D2008FE79FF6088D5B7F0E18C8849 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.pdb /
/Component
Component Id=cmp484FCED8CB0C842381749E9CEE338952 Guid=*
File Id=fil2A61EA6DED16E90EDE4E263DBF1CFEB7 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.dll /
/Component
Component Id=cmp513A9018EF535F3DA9154A118FD66F4E Guid=*
File Id=fil3597E6491EA7C1C82E5DD9068094CC80 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.pdb /
/Component
Component Id=cmpEC9E15199608107253B04FD8D473E32A Guid=*
File Id=fil56C605AFEAE5C63A816B0BAB7C546072 KeyPath=yes 
Source=$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.xml /
/Component
/DirectoryRef
/Fragment
Fragment
ComponentGroup Id=BinariesComponentGroup
ComponentRef Id=cmpDC5CEFA56FEBDA5ED247399E9E349E3F /
ComponentRef Id=cmpEF3D7A5AC65A544EC0C630ACDE209C2A /
ComponentRef Id=cmp62AD1D38441CB63662B40500F3BA3FAC /
ComponentRef Id=cmpDF0C305F5DE3BC16DBDE0A5CB6F69D19 /
ComponentRef Id=cmp7673C4A91CE07827683A210C87D86E54 /
ComponentRef Id=cmpB6C8F82C73E777FD62249DE7BF351902 /
ComponentRef Id=cmpA516A596004C93A32219B5A783643E92 /
ComponentRef Id=cmpD24004DD6B2CCFF5EED9034C65AC286D /
ComponentRef Id=cmp484FCED8CB0C842381749E9CEE338952 /
ComponentRef Id=cmp513A9018EF535F3DA9154A118FD66F4E /
ComponentRef Id=cmpEC9E15199608107253B04FD8D473E32A /
/ComponentGroup
/Fragment
/Wix


Thanks

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.





-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Tuesday, August 21, 2012 10:32 AM
To: General discussion for Windows Installer XML toolset.; chr...@iswix.com
Subject: Re: [WiX-users] ServiceInstall does NOT remove service during uninstall

Hi guys,

I'm trying to install a windows service.

 The installer files are being collected via heat. Although the service 
installs perfectly, it's not removed again upon uninstall.

I went through the log file but cannot pin point anything to be wrong can you 
guys please point me to an answer.

I've attached the log files and the heat generated output.


Thank you.

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient