Hi,

I've created in Visual Studio 2012 a Generic Installer Project with the lastest 
version of WixToolset.

With another tool I edit the wixproj file to change the ProjectGuid, OutputName 
and I edit the wxs file to change the file need for the installer with new 
guids.
I save all the files and with Msbuild I build the Generic Installer Solution.

Since all the generated msi have the same output folder, I saw a strange 
behavior:

Let say I want to generate 2 msi,
1-      ABC.msi
2-      XYZ.msi
The ABC.msi will be generated perfectly to the output path, when the XYZ.msi 
will be generated, something will erase the ABC.msi. If I regenerate the 
ABC.msi, it will erase the XYZ.msi.

I've look throught the Msbuild documentation and there is no evidence that its 
Msbuild's fault, so I'm wondering what it could be.

What I have found in the build logs is:

Using "Light" task from assembly "C:\Program Files (x86)\WiX Toolset 
v3.8\bin\\WixTasks.dll".
Build files after link:

Target "Signing" skipped, due to false condition; ( '@(SignTargetPath)' != '' ) 
was evaluated as ( '' != '' ).
Target "PrepareForBuild" skipped. Previously built successfully.
Target "AssignCultures" skipped. Previously built successfully.
Building target "GetTargetPath" completely.
No input files were specified.
Using "FindUnderPath" task from assembly "Microsoft.Build.Tasks.v4.0, 
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Comparison path is "..\..\..\..\OutputFiles\Installer\".
Comparison path is "obj\x64\Debug\".
Comparison path is "..\..\..\..\OutputFiles\Installer\".
Comparison path is "obj\x64\Debug\".
Using "Delete" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Deleting file "D:\Dev\SA\OutputFiles\Installer\XYZ.msi".
Deleting file "D:\Dev\SA\OutputFiles\Installer\ XYZ.wixpdb".
Using "WriteLinesToFile" task from assembly "Microsoft.Build.Tasks.v4.0, 
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Target "PostBuildEvent" skipped, due to false condition; ( '$(PostBuildEvent)' 
!= '' and
      ( '$(RunPostBuildEvent)' != 'OnOutputUpdated' or 
'$(_TargetOutputTimestampBeforeCompileAndLink)' != 
'$(_TargetOutputTimestampAfterCompileAndLink)' )) was evaluated as ( '' != '' 
and
      ( '' != 'OnOutputUpdated' or '' != '' )).
Building target "Build" completely.

What can I do to prevent that?

Thanks for your help.

Simon Pesant
Software developer
Verint Systems Inc.

Phone   450.686.9000 x499
Email    simon.pes...@verint.com<mailto:simon.pes...@verint.com>
Web      www.verint.com




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<HTML lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
Ce message &eacute;lectronique peut contenir de l&rsquo;information 
confidentielle appartenant &agrave; Verint Systems Inc., ses 
soci&eacute;t&eacute;s affili&eacute;es et/ou filiales.
L&rsquo;information est &agrave; l&rsquo;usage du destinataire mentionn&eacute; 
ci-haut seulement.
Si vous n&rsquo;&ecirc;tes pas le destinataire de ce courrier 
&eacute;lectronique (ou autoris&eacute; &agrave; recevoir ce courrier 
&eacute;lectronique pour le destinataire), vous ne pouvez pas utiliser, copier, 
divulguer ou distribuer &agrave; d&rsquo;autres personnes ce message ou toute 
information contenue dans ce message.
Si vous avez re&ccedil;u ce message &eacute;lectronique par erreur, veuillez 
nous en informer en r&eacute;pondant &agrave; ce courriel.

This electronic message may contain proprietary and confidential information of 
Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or 
entity(ies) named above.
If you are not the intended recipient (or authorized to receive this e-mail for 
the intended recipient),
you may not use, copy, disclose or distribute to anyone this message or any 
information contained in this message.
If you have received this electronic message in error, please notify us by 
replying to this e-mail.
</body>
</html>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to