Re: [WiX-users] Copy many files to install folder

2013-09-02 Thread Ihor Horovetskyi
Use *'heat.exe'* harvest tool to automatically create layout with file
components and references.
Example of using with command line:
*"%wix%\bin\heat.exe" dir "Dist" -ag -sfrag -srd -suid -var var.Binaries -cg
BinaryFileGroup -out HeatFiles.wxi*
where Dist - distribution directory with multiply files. 

About other parameters you can read there:
http://wixtoolset.org/documentation/manual/v3/overview/heat.html

One more usefull thing you have to know - is the xslt document, which you
may apply to *'heat.exe'* output. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Copy-many-files-to-install-folder-tp7588680p7588681.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Nit error while trying to run Lux tests.

2013-09-02 Thread Ihor Horovetskyi
When I try to run the .msi with log, test return value 3:

'SFXCA: Extracting custom action to temporary directory:
C:\Windows\Installer\MSI253F.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or
that there is a matching supportedRuntime element in CustomAction.config. If
you are binding to .NET 4 or greater add
useLegacyV2RuntimeActivationPolicy=true to the  element.
CustomAction WixRunImmediateUnitTests returned actual error code 1603 (note
this may not be 100% accurate if translation happened inside sandbox)
Action ended 12:56:07: WixRunImmediateUnitTests. Return value 3.'

I trying to recompile with every framework version (2.0, 3.0, 3.5, 4.0,
4,5), but result is the same.
The property 'useLegacyV2RuntimeActivationPolicy=true' is present in
 element.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Nit-error-while-trying-to-run-Lux-tests-tp7588631p7588679.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Nit error while trying to run Lux tests.

2013-08-30 Thread Ihor Horovetskyi
I'm trying to follow this with wix 3.8:

http://wixtoolset.org/documentation/manual/v3/overview/lux.html

 

But during executing 'nit' tool, I've got an error:

'nit.exe : error NIT0001 : This installation package could not be opened.
Verify that the package exists and that you can access it, or contact the
application vendor to verify that this is a valid Windows Installer package.'

 

Before this I have applied these commands:

candle -ext WixLuxExtension CustomActions.wxs

lux CustomActions.wixobj -out Lux_Test.wxs

candle -ext WixLuxExtension Lux_Test.wxs

light -ext WixLuxExtension Lux_Test.wixobj CustomActions.wixobj -out
Lux_Test.msi

 

CustomActions.wxs:



http://schemas.microsoft.com/wix/2006/wi";
xmlns:lux="http://schemas.microsoft.com/wix/2009/Lux";>

  

 

    

  

    

  

    

    



    

 

    

  

    

 

    

    

  TESTPROP

    

  



 

Simple custom action just set property. 

I can see [WixUnitTest] table in result msi with Orca.

 

What am I doing wrong? And how can I run tests?

 

 

Best, Ihor.

 





http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature";>
http://www.sdl.com/Content/themes/common/images/SDL_logo_strapline_GCEM_EmailSig_150x68px.jpg";
 border=0>www.sdl.com




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.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn: MSI-Bundle message interaction

2013-08-08 Thread Ihor Horovetskyi
Hi there.

I'm trying to communicate with bundle BA from MSI custom action code on C#.
So far no luck:

var result = session.Message(InstallMessage.Error +
(int)MessageButtons.RetryCancel, new Record(1) {FormatString = "Choose Try or
Cancel."});

My BA handles message in Error handler and receives e.UIHit=5, which is
correct. The problem is that process is not stopped at session.Message method
and it returns immediately with Result.None without waiting Error handler to
finish. Taking in account that bundle engine does properly handle standard
error messages like "Failed to start service", general error messages etc., I
assume that it has something to do with using external bundle UI.

Can anyone tell me how to properly set up this kind of MSI-Bundle
communication? Thx in advance,

 

 

Best, Ihor.

 





http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature";>
http://www.sdl.com/Content/themes/common/images/SDL_logo_strapline_GCEM_EmailSig_150x68px.jpg";
 border=0>www.sdl.com




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.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users