Re: [WiX-users] Lux - Custom action testing framework- Advantages?

2012-07-31 Thread kirannhegde
Thanks folks. This is great information. Let me digest this and ponder over it and see if i can put all the blocks together. Regards, Kiran hegde -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Lux-Custom-action-testing-framework-Advantages-tp757

Re: [WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Adam Kadzban
In C# I have often used System.Diagnostics.Debugger.Launch(). If you have Visual Studio installed it pops up a box asking if you want to attach or not. -Adam On Tue, Jul 31, 2012 at 1:58 PM, Steven Bone wrote: > For DebugBreak() to work you need to be attached to the windows installer > process

[WiX-users] Accessing MSI description / feature info from burn BootstrapperApplication

2012-07-31 Thread John M. Wright
I've created a .net-based custom UI using a class extending Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication (MBA). From within my code, I'm trying to get a list of the MSIs and their features so that I can create a Feature Tree style control to display in my WPF UI. In lo

Re: [WiX-users] Assistance with creating a patch

2012-07-31 Thread Jeanne Dixon
I used Orca to put version numbers on the file in both msi projects and re-ran torch and pyro, but it still gives me the error about no valid transforms. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, July 31, 2012 12:41 PM To: General discussion

Re: [WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Steven Bone
For DebugBreak() to work you need to be attached to the windows installer process. I usually added a call to MessageBox() that prints out the PID of the current process just before DebugBreak(). Attach to that process id, dismiss the message box, and the debugger stops and you can step into it.

Re: [WiX-users] Assistance with creating a patch

2012-07-31 Thread Jeanne Dixon
No, it does not. Does that mean I have to create a version for every file in my build? That's a lot of files! -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, July 31, 2012 12:41 PM To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] Lux - Custom action testing framework- Advantages?

2012-07-31 Thread Steven Bone
Good points, John. I also follow(ed) that philosophy. When it comes to immediate actions, there are lots of considerations that I did not mention. The immediate action is a great place to put checks in for situations where the deferred action will always fail (like if deploying a DB but the conn

Re: [WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Neil Sleightholm
I think you just put it where you want your break point. Neil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 31 July 2012 16:14 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] debug a C++ Custom Action Project in VS

Re: [WiX-users] Assistance with creating a patch

2012-07-31 Thread Peter Shirtcliffe
Does your changed file have a version resource and, if so, did the version increase in the updated file ? -Original Message- From: Jeanne Dixon [mailto:jdi...@cots.com] Sent: 31 July 2012 17:28 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Assistance w

Re: [WiX-users] Assistance with creating a patch

2012-07-31 Thread Jeanne Dixon
I just read an article that made me realize I have an error in my pyro command. It should read: Pyro ADSPatch1.wixmsp -out ADSPatch1.msp -t ADSPatch ADSPatch1.wixmst This now gives me a warning: PYRO1079: the cab file does not contain any files. I do have the changed file in a ComponentRef in

Re: [WiX-users] Assistance with creating a patch

2012-07-31 Thread Jeanne Dixon
Sorry for not getting back to this sooner. I am using visual studio to create the msi and wixpdb files for both versions. I then use light to create the patch .wixmsp file Light ADSPatch1.wixobj -out ADSPatch1.wixmsp Then I try to use pyro to build the patch Pyro ADSPatch1.wixmsp -out ADSPatch

Re: [WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Natalie Carr
Hi, Yes tried number one with no success, just found DebugBreak() but am wondering where you call it, do you know of any useful examples? Thanks -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 31 July 2012 15:52 To: General discussion for Windows Installer XM

Re: [WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Neil Sleightholm
I am aware of 3 methods: 1. Set the environment variable MsiBreak to the name of the custom action 2. Call DebugBreak() 3. Use __asm { int 3 } In all cases this will cause a dialog to appear which allows you to attach VS to the process. Have you tried these? Neil -Original Message

[WiX-users] debug a C++ Custom Action Project in VS 2010

2012-07-31 Thread Natalie Carr
Hi could someone please help me and tell me how to debug a C++ Custom Action Project in VS 2010? I've tried a number of things but nothing seems to work. Kind Regards, Natalie Carr -- Live Security Virtual Co

Re: [WiX-users] Update value of newVersion

2012-07-31 Thread Rohit Sharma (AIDC)
Never mind, I fixed it! -Original Message- From: Rohit Sharma (AIDC) [mailto:rohit.sha...@accelrys.com] Sent: Tuesday, July 31, 2012 5:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Update value of newVersion Gentle reminder! -Original Messa

Re: [WiX-users] Lux - Custom action testing framework- Advantages?

2012-07-31 Thread John Cooper
I do use Lux, and I am expanding my use of it. Some of my custom actions (particular the family that implements vsdbcmd.exe database deploy) have complex immediate custom action components (e.g., unpacking the deployment engine to a temporary location, building an appropriate command line, and

Re: [WiX-users] Update value of newVersion

2012-07-31 Thread Rohit Sharma (AIDC)
Gentle reminder! -Original Message- From: Rohit Sharma (AIDC) [mailto:rohit.sha...@accelrys.com] Sent: Monday, July 30, 2012 9:32 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Update value of newVersion Hello I have a web.config which the following entries in the runtime

Re: [WiX-users] Lux - Custom action testing framework- Advantages?

2012-07-31 Thread Steven Bone
Kiran - you privately sent me your initial post (not specifying you cross-posted to the WiX-users list. I will reply here publicly and in context with your follow-up. I personally never have used Lux, as it did not exist when I last developed a Custom Action of any test-worthy significance (I don

Re: [WiX-users] SxS MFC merge module needs to write to System32. Why?

2012-07-31 Thread Bruce Cran
On 31/07/2012 11:13, Chris Dahl wrote: > We have both as requirements for our application (due to a 3rd party > library that uses VC90, and our application that uses VC10). > > The VC90 files are installed to a SxS directory though, so how could > another application have a hold on them? And, looki

Re: [WiX-users] SxS MFC merge module needs to write to System32. Why?

2012-07-31 Thread Chris Dahl
We have both as requirements for our application (due to a 3rd party library that uses VC90, and our application that uses VC10). The VC90 files are installed to a SxS directory though, so how could another application have a hold on them? And, looking at the log file does the fact that the _Remov

Re: [WiX-users] SxS MFC merge module needs to write to System32. Why?

2012-07-31 Thread Bruce Cran
On 31/07/2012 11:06, Chris Dahl wrote: > And I also ran the installer in UI mode, and checked the MSI log when the > "The setup must update files or services that cannot be updated while the > system is running" message. This is the last line in the log file: You seem to be installing the VC90 CRT

Re: [WiX-users] SxS MFC merge module needs to write to System32. Why?

2012-07-31 Thread Chris Dahl
And I also ran the installer in UI mode, and checked the MSI log when the "The setup must update files or services that cannot be updated while the system is running" message. This is the last line in the log file: MSI (s) (A8:A8) [19:50:34:351]: Component: __downlevel_payload.21022.08.Microsoft_V

Re: [WiX-users] Lux - Custom action testing framework- Advantages?

2012-07-31 Thread kirannhegde
*Getting the infrastructure in place to test custom actions is pretty tricky (thus Lux exists).* Could you please elaborate on this? If i have to sell this idea to my management, what are the points to make out in favour of Lux? Thanks, Kiran Hegde -- View this message in context: http://wi

Re: [WiX-users] SxS MFC merge module needs to write to System32. Why?

2012-07-31 Thread Chris Dahl
Thanks Bruce. I looked at the CBS.log file to get some further information. And I believe this is the reason why the reboot is occurring. This even happens if I run the installation process 'As Administrator'. What are .rbf files, and why can't they be deleted? Thanks in advance. MSI (