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

2013-09-04 Thread Bob Arnson
On 02-Sep-13 06:02, Ihor Horovetskyi wrote:
 When I try to run the .msi with log, test return value 3:
Please open a bug and include which build of WiX you're running, OS 
version, and which .NET Frameworks are installed.

-- 
sig://boB
http://joyofsetup.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=58041391iu=/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 startup 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
startup 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=58040911iu=/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:

?xml version=1.0 encoding=UTF-8?

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

  Fragment

 

    Directory Id=TARGETDIR Name=SourceDir

  Directory Id=ProgramFilesFolder

    Directory Id=INSTALLFOLDER Name=TestSetupProject /

  /Directory

    /Directory

    

Binary Id=CustomActionsBinary SourceFile=CustomActions.CA.dll /

    CustomAction Id='CustomAction1' BinaryKey='CustomActionsBinary'
DllEntry='CustomAction1' Execute='immediate' /

 

    InstallExecuteSequence

  Custom Action='CustomAction1' Before='InstallInitialize'/

    /InstallExecuteSequence

 

    lux:UnitTest CustomAction=CustomAction1 Property=TESTPROP
Value=RES1 Operator=equal /

    lux:UnitTest CustomAction=CustomAction1

  lux:ExpressionTESTPROP/lux:Expression

    /lux:UnitTest

  /Fragment

/Wix

 

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.

 

/prefont face=arial size=2 color=#736F6E



a 
href=http://www.sdl.com/?utm_source=Emailutm_medium=Email%2BSignatureutm_campaign=SDL%2BStandard%2BEmail%2BSignature;
img 
src=http://www.sdl.com/Content/themes/common/images/SDL_logo_strapline_GCEM_EmailSig_150x68px.jpg;
 border=0brbrwww.sdl.com
/abrbr

font face=arial size=1 color=#736F6E

bSDL PLC confidential, all rights reserved./b

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.BR
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.BR
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
/font
--
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=58040911iu=/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-08-30 Thread Bob Arnson
On 30-Aug-13 04:33, Ihor Horovetskyi wrote:
 '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.'
What happens if you run the .msi manually?


  Running unit tests

After building the test package, you can run it with logging enabled to 
capture test results:

|msiexec /l test1.log /i bin\Debug\LuxSample1_test.msi|

Search the log for *WixRunImmediateUnitTests* to see test results and 
other logging from the Lux custom action.


-- 
sig://boB
http://joyofsetup.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=58040911iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users