Re: [WiX-users] difx extension and perMachine installs

2012-01-21 Thread Bob Arnson
On 17-Jan-12 17:16, Peter Hull wrote:
 I'd still like to hear if anyone has any comments on a per-user 
 install which includes a device driver - is it always better to do it 
 per-machine. 

Drivers are per-machine resources so a per-user installer that includes 
one can't offer the benefits of per-user installers (e.g., no UAC 
prompt) and can only complicate things (e.g., what happens when another 
user tries to install?).

-- 
sig://boB
http://joyofsetup.com/


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Updating from 3.6.1022 to v3.6.2221 result in Error 1056.

2012-01-21 Thread Bob Arnson
On 17-Jan-12 05:58, Per Næsgaard Andersen wrote:
 [Mixed Platforms/Debug] [some 
 path]\Fls.Xxx.Install\Fls.Xxx.Install.wxs(58,0): error LGHT1056: The Property 
 table contains a row with primary key(s) 'MsiHiddenProperties' which cannot 
 be merged from the merge module '[some path]\Debug\Fls.Core.DB.Module.msm'.  
 This is likely due to collision of rows with the same primary key(s) (but 
 other different values in other columns) between the database and the merge 
 module.
Please file a bug.

-- 
sig://boB
http://joyofsetup.com/


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Weekly Builds?

2012-01-21 Thread John Bergman
Thanks!

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, January 21, 2012 1:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Weekly Builds?

Just: http://robmensching.com/blog/posts/2012/1/20/The-wixtoolset.org-online
Whew, that's a load off.


On Wed, Jan 18, 2012 at 11:31 AM, John Bergman  
john.berg...@xpedienttechnologies.com wrote:

 Are weekly builds available again yet?

 I was going to upgrade our installers to use a more recent build, but 
 could not find them.  Rob's blog mentioned that they were on track, 
 but it still points to October's build.


 John


 --
  Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft 
 developers is just $99.99! Visual Studio, SharePoint, SQL - plus 
 HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you 
 subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Anyone know how to use AppSecInc's Win32_WriteFile custom action?

2012-01-21 Thread Dan Gough
Hi, I'm trying to use this custom action so far without success as I don't
know how to pass the parameters to it.

http://code.dblock.org/Source/msiext/1.2/Docs/_win32_impl_8h.html#a427b16cc4d6285c4eac3227ac5723050

CA_API UINT __stdcall Win32_WriteFile ( MSIHANDLE hInstall )

Write to an ANSI text file.

Parameters:
WIN32_FILE_DATA Data to write to a file.
WIN32_FILE_NAME Fully qualified path to the target file.
WIN32_FILE_ENCODING Set to UTF-8 to write a file in the UTF-8 format,
ANSI to write the file in the ANSI format. Default is ANSI.


As I want to write to a file in program files, I'm trying to run this as a
deferred CA without impersonation, so setting those parameters as
individual properties won't work, and I've tried a couple of other ways but
cannot get it to work.  Unless this is just an immediate CA?

Thanks in advance,
Dan
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Weekly Builds?

2012-01-21 Thread Sunny Li
Hey!

Just tried out the weekly build 3.6.2520, I think there is a bug in the
wix.ca.targets.

I had to change these two lines:
WixTasksPath Condition= '$(WixTasksPath)' == '' AND
'$(MSBuildExtensionsPath32)' != ''
$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\WixTasks.dll/WixTasksPath
WixTasksPath Condition= '$(WixTasksPath)' == ''
$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\WixTasks.dll/WixTasksPath

to

WixTasksPath Condition= '$(WixTasksPath)' == '' AND
'$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\..\WiX
Toolset v3.6\bin\WixTasks.dll/WixTasksPath
WixTasksPath Condition= '$(WixTasksPath)' == ''
$(MSBuildExtensionsPath)\..\WiX Toolset
v3.6\bin\WixTasks.dll/WixTasksPath

Cheers,

On Sat, Jan 21, 2012 at 6:16 PM, John Bergman 
john.berg...@xpedienttechnologies.com wrote:

 Thanks!

 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: Saturday, January 21, 2012 1:51 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Wix Weekly Builds?

 Just:
 http://robmensching.com/blog/posts/2012/1/20/The-wixtoolset.org-online
 Whew, that's a load off.


 On Wed, Jan 18, 2012 at 11:31 AM, John Bergman 
 john.berg...@xpedienttechnologies.com wrote:

  Are weekly builds available again yet?
 
  I was going to upgrade our installers to use a more recent build, but
  could not find them.  Rob's blog mentioned that they were on track,
  but it still points to October's build.
 
 
  John
 
 
  --
   Keep Your Developer Skills Current with LearnDevNow!
  The most comprehensive online learning library for Microsoft
  developers is just $99.99! Visual Studio, SharePoint, SQL - plus
  HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you
 subscribe now!
  http://p.sf.net/sfu/learndevnow-d2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



 --
 virtually, Rob Mensching - http://RobMensching.com LLC

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers is
 just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
 Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
Sunny Li
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] creating a WIX small or minor patch

2012-01-21 Thread tomer.c
Hi,
Thanks for the replay, you are right, removing the children from the 
PatchFamily element does include everything.
But now I have a new problems :)
I get this error:

C:\Sample_1pyro.exe -v patch\patch.wixmsp -out patch\patch.msp -t RTM 
patch\diff.wixmst
Microsoft (R) Windows Installer Xml Patch Builder version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.

pyro.exe : warning PYRO1099 : Changing the ProductCode in a patch is not 
recommended because the patch cannot be uninstalled nor can it be sequenced 
along with other patches for the target product.
See http://msdn2.microsoft.com/library/aa367571.aspx for more information.
E:\4\139\Sources\Setup\common\Wix\Base\files.wxs(62) : error PYRO0305 : 
Removing component 'QsConfig.exe' from feature 'ProductFeature' is not 
supported. Either the component was removed or the guid changed. Add the 
component back, undo the change to the component guid, or remove the entire 
feature.


What does it mean?

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Friday, January 20, 2012 1:35 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] creating a WIX small or minor patch

Do you really need to exclude anything from your patch? Do you really need more 
than one PatchFamily? If no on both questions then remove all children from 
the PatchFamily element. No references means include everything.

Otherwise you will need to examine the generated WXS files and ensure that the 
IDs are stable and include all of them that you intend to possibly upgrade.

Blair

-Original Message-
From: tome...@qualisystems.com [mailto:tome...@qualisystems.com]
Sent: Thursday, January 19, 2012 5:44 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] creating a WIX small or minor patch

Sure.
I got that. I did make sure that the placeholder id is the same, but then I 
still get the error.
I'll attack a zip with all the relevant file.
The FoundationClient.proj has all the parameters that are transferred to the 
BaseSetup.wixproj, then with the help of the HeatDirectory I Harvest and create 
the Files.wxs dynamically for each product.
Thanks!

Ask me if something is missing! Don't work too hard to understand, just ask!
:) Thanks again

-Original Message-
From: Peter Marcu [mailto:peter.ma...@microsoft.com]
Sent: Wednesday, January 18, 2012 10:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] creating a WIX small or minor patch

The problem is a mismatch between the PatchBaseline you have in the patch wxs 
and the baseline you are specifying to pyro to attach the transform to.
The first argument after the -t is the baseline. If your patch targets RTM 
(your patch will apply to an RTM install) then you should have Id=RTM for 
PatchBaseline\@Id.

PatchBaseline Id=SP3 /
-t RTM out\patch\diff.wixmst

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Wednesday, January 18, 2012 1:48 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] creating a WIX small or minor patch

The pyro command looks OK. Could you post your torch, candle and light command 
lines and your patch wxs please ?

-Original Message-
From: tome...@qualisystems.com [mailto:tome...@qualisystems.com]
Sent: 18 January 2012 08:02
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] creating a WIX small or minor patch

Hi,
As far as I understand the pyro command takes the patch.wxs and the diff file 
generated with the torch command. The problem is that the diff file is 
generated from 2 wixpdb files and I don't know how to make my patch.wxs 
compatible... the right ID to pass has something to do with the diff file, the 
example works fine, but when I use the same technique on my wixpdb's I get the 
error mentioned below.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Wednesday, January 11, 2012 12:02 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] creating a WIX small or minor patch

That is a example from one of our released products. The Id in the 
patchbaseline is something you invent and only appears otherwise on the pyro 
command line. 
Why do you say that your files are relevant ?

-Original Message-
From: tome...@qualisystems.com [mailto:tome...@qualisystems.com]
Sent: 10 January 2012 11:21
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] creating a WIX small or minor patch

Yea, that I got from the sample, the problem is that our build.wxs files are a 
bit more complicated than the example ones...
We are using HearDirectory to create our file list, and the file list generated 
doesn't have a nice ID that I can reference too...
What I really need is a good example, an example that shows how to work with 
real life scenarios...
Thanks.

-Original Message-
From: Peter Shirtcliffe