[WiX-users] Speeding up the light

2009-05-05 Thread Riyaz Mogharabin
Dear all, Do you have any clue what elements are involved in the process of creating the MSI file by light? The process of creating the MSI file for my company product takes about 90 minutes to complete. How can I speed this up? Any suggestion would be appreciated, Thanks in advance, -

[WiX-users] Publish several events with condition.

2009-05-05 Thread Sergey Abakumoff
What I am trying to accomplish: In one of the dialogs of my installer, I call the custom action of type 6(VBScript file stored in a Binary table stream) when user clicks on the button: Here is the custom action definition: In VBScript function I set th

Re: [WiX-users] Automated build process using Wix

2009-05-05 Thread Sascha Beaumont
Definitely possible, I've just finished migrating to a system where our developers can build installers themselves. I found Nant really easy to get my head around, first got the MSI package itself being built by a single command and then just expanded from there. A simplified version of my install

Re: [WiX-users] Dependencies and conflicts

2009-05-05 Thread Rob Mensching
Hmm, things are a too little vague to provide exact suggestions. "Chains of .wixlibs" (where one .wixlib needs another one and so on) are a weakness even in the C/C++ world. Documentation is what helps there. Are you using ComponentGroups/ComponentGroupRefs? You can also nest ComponentGroups if

Re: [WiX-users] What in the world is "transaction mode"?

2009-05-05 Thread Rob Mensching
It means your changes to the MSI database won't be persisted unless you call ::MsiDatabaseCommit(). DONG LEE wrote: > While I was going through an MSI database manipulation example at > http://msdn.microsoft.com/en-us/library/aa367523(VS.85).aspx, > I realized that they had something like > MsiO

Re: [WiX-users] Building MSIs for automated deployment

2009-05-05 Thread Michael Osmond
David, To automate the deployment you need the every build to be able to update the last. I am guessing that because of your versioning of the MSI with the sprint number being the third number, you can't process the install as an upgrade. I am assuming you have authored upgrades into the MSI

[WiX-users] What in the world is "transaction mode"?

2009-05-05 Thread DONG LEE
While I was going through an MSI database manipulation example at http://msdn.microsoft.com/en-us/library/aa367523(VS.85).aspx, I realized that they had something like MsiOpenDatabase(_T("c:\\temp\\testdb.msi"), MSIDBOPEN_TRANSACT, &hDatabase). I tried to look for what MSIDBOPEN_TRANSACT flag mean

[WiX-users] Building MSIs for automated deployment

2009-05-05 Thread David Keaveny
I've been using WiX v3 with CruiseControl.NET for some time now to build MSI packages for deployment, without any real problem. We're working in an agile environment, so fresh MSIs are being created every night, with the version number being incremented at the beginning of each sprint (for instance

Re: [WiX-users] Dependencies and conflicts

2009-05-05 Thread Stryder Crown
I'm using Visual Studio for these, which has proven to be a big help for organizing everything. And I guess that's kinda the mentality I'm coming at this with. Create a project for a major component, and then include references to everything that is needed to run that. I sepecifically _don't_ wa

Re: [WiX-users] Custom Action ?

2009-05-05 Thread Rob Mensching
Hmm, I don't think that's right. A CustomAction can usually show UI. However, CustomActions based off of a button click are very restricted. I think maybe those are the ones that can't show UI (probably something to do with message pump madness). Brian Rogers wrote: > To the best of my knowledg

Re: [WiX-users] Dependencies and conflicts

2009-05-05 Thread Rob Mensching
1. I personally haven't sat down and thought about all of them. Honestly, the strategies I use come from my days of working in C/C++. WiX works very similarly. If you organize your code well in C/C++ and follow similar organization efforts in WiX, it all works out. Duplicating code across .lib

Re: [WiX-users] Custom Action ?

2009-05-05 Thread Brian Rogers
To the best of my knowledge you can't launch a custom UI from a Custom Action. I believe you would need to take over full control of the UI in order to achieve this. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Fri, May 1, 2009 at 3:15 AM, Conna

Re: [WiX-users] Dependencies and conflicts

2009-05-05 Thread Stryder Crown
Do you have any links or places that I could go to read on these strategies? I'm reluctant to put everything in one (or two) wixlib's since these are dll's and exe's that contribute to the overall functionality of several programs. Can't wix just 'ignore' when a wixlib has a reference to a file t

Re: [WiX-users] Automated build process using Wix

2009-05-05 Thread Brian Rogers
Hey Jim, Many people are doing this and it is possible. I believe you need to look at how much automation you are looking to have. You can also use heat.exe to harvest content. It all comes down to how you want to service your MSI once it is created. If you only intend to have major upgrades only

Re: [WiX-users] Automated build process using Wix

2009-05-05 Thread Rob Mensching
Yeah, that's the whole point of the WiX toolset. There is MSBuild support with the WiX v3 install and we have NAnt tasks if you use nant. After that everything is just command-line tools so you can script them into just about any build process out there. MacDiarmid, James D wrote: > Is it possi

[WiX-users] Automated build process using Wix

2009-05-05 Thread MacDiarmid, James D
Is it possible to have Wix in an automated build process. That may not be the right question to ask but I wanted to throw something out there. I'm looking for information on how to incorporate the Wix Toolset into our build process. We have a CM person that does all of our builds however she kno

Re: [WiX-users] Dependencies and conflicts

2009-05-05 Thread Rob Mensching
Putting the same content in different .wixlibs is going to lead to no end of troubles. I don't know the specifics but there are several ways to restructure the example below to end up with content only in one .wixlib. I highly recommend picking one of those strategies (for example, you could pu

[WiX-users] Dependencies and conflicts

2009-05-05 Thread Stryder Crown
Ok, I'm sure this has been asked here before, but I wasn't able to find the thread or a resolution... How does anybody else deal with this situation: I have several WiX projects that share common dependencies that I'm compiling into wixlibs for larger projects. I want to ensure that a compiled w

Re: [WiX-users] UI plans for burn

2009-05-05 Thread Rob Mensching
That is *exactly* what burn is intended to be used for. Note: the managed UI work is going to take us longer to get right. The initial drop of burn will come out with support for only native UI (plus a "standard UX DLL") and we'll work on stabilizing the core before creating the managed UI supp

Re: [WiX-users] DB Drop at Uninstall

2009-05-05 Thread Rob Mensching
Are the user name and password parameterized during install? If so, are you recovering those parameters for uninstall? Mark Sinnathamby wrote: > Hi, > The database credentials for creating my database are taken during > installation via a dialog box. Using the login, password and server name >

[WiX-users] TabSkip dosn't work

2009-05-05 Thread xubutian
My code looks like this: 1 1 The problem is tab key is still working on these two buttons. How do i skip the tab sequence for a push button? Thanks! -- View this message in context: http://n2.nabble.com/TabSkip-dosn%27t-work-tp2801735p2801735.html Sent from the wix-users mailing list

Re: [WiX-users] Module/Configuration and Module/Substitution

2009-05-05 Thread Rob Mensching
Yes, it probably should have. To work around the oversight, you can use the EnsureTable element. Reuss, Matthias wrote: > Hello, > > In the MergeModule I am developing with WiX 2, I need Substitution entries in > order to use some properties from the base MSI; however I do not need > Configurat

Re: [WiX-users] move progress bar depending upon as custom actions goes on executing

2009-05-05 Thread Rob Mensching
Look in your wix enlistment under src\ca\wcautil\wcawrap.cpp. Hukumchand Shah wrote: > Thanks Rob for reply. > I serached but didn't get anything useful. > Could you send me detail links if you have? > > On Fri, May 1, 2009 at 12:32 PM, Rob Mensching wrote: > > >> Most of the WiX CustomActions

Re: [WiX-users] Module/Configuration and Module/Substitution

2009-05-05 Thread Rob Mensching
Yes, it probably should have. To work around the oversight, you can use the EnsureTable element. Reuss, Matthias wrote: > Hello, > > In the MergeModule I am developing with WiX 2, I need Substitution entries in > order to use some properties from the base MSI; however I do not need > Configurat

Re: [WiX-users] Setting a Vista Firewall rule

2009-05-05 Thread Chris Lord
Apologies everyone. A quick search this morning and I find Bob's blog with all the information I need! Have no idea how I missed that. Must have been tired. -Original Message- From: Chris Lord Sent: Tuesday, May 05, 2009 10:44 To: wix-users Subject: [WiX-users] Setting a Vista

[WiX-users] Smart Cabbing and Patches

2009-05-05 Thread carlldev
I need to have the same files installed to a second location during an install. Having read the article on http://robmensching.com/blog/posts/2007/6/1/quotSmart-cabbingquot-added-to-WiX-toolset smart cabbing I'm happy that it can be done without impacting the size of the MSI. But what I want to

Re: [WiX-users] Setting a Vista Firewall rule

2009-05-05 Thread David Bartmess
You might try here http://www.joyofsetup.com/2008/05/17/new-wix-feature-firewall-extension/ -Original Message- From: Chris Lord [mailto:chris.l...@atterotech.com] Sent: Tuesday, May 05, 2009 8:44 AM To: wix-users Subject: [WiX-users] Setting a Vista Firewall rule My application uses a

[WiX-users] MSI Factory

2009-05-05 Thread MacDiarmid, James D
Does anyone use MSI Factory or WixAware to build their installs? I've been evaluating WixAware and I like the interface, however it's still very buggy. I'd like to see if there are any other "front ends" available that support Wix 2.0 and/or Wix 3.0. I recently found MSI Factory and have starte

Re: [WiX-users] Setting a Vista Firewall rule

2009-05-05 Thread Phil Sayers
FirewallException element -Original Message- From: Chris Lord [mailto:chris.l...@atterotech.com] Sent: Tuesday, May 05, 2009 10:44 AM To: wix-users Subject: [WiX-users] Setting a Vista Firewall rule My application uses a .NET object that requires the use of TFTP. Unfortunately, on a Vis

[WiX-users] Setting a Vista Firewall rule

2009-05-05 Thread Chris Lord
My application uses a .NET object that requires the use of TFTP. Unfortunately, on a Vista install, the software doesn't work correctly because the Vista firewall blocks it. A simple exception for the application fixes this. However, rather than get the user to do this manually, I'd like my insta

Re: [WiX-users] Data exchange between MSM and main MSI

2009-05-05 Thread Reuss, Matthias
Thank you for the WiX 3 solution. With WiX 2, there is the element IgnoreModularization instead, which has been declared deprecated in WiX 3. In my WiX 2 project, it works. Best regards Matthias > -Ursprüngliche Nachricht- > Von: Christopher Painter [mailto:chr...@deploymentengineerin

Re: [WiX-users] Problem trying to build .wixproj using v3.0.5301.0

2009-05-05 Thread Bob Arnson
Pally Sandher wrote: > atid=642714 but can anyone advise on a fix to the wix.targets file or > should I go back to using v3.0.5224.0 until this is fixed in a future > update? Could I simply use the v3.0.5224.0 wix.targets file with > v3.0.5301.0 installed or would that break things in more serious

Re: [WiX-users] CopyFile: SourceProperty vs. SourceDirectory

2009-05-05 Thread Bob Arnson
Reuss, Matthias wrote: > What does this mean? I have not found an additional reference in my MSI. > It's a link-time WiX concept; it ensures the directory is linked in and provides an error message if one isn't provided. > This is true, and I have already thought of creating such a property.

[WiX-users] Module/Configuration and Module/Substitution

2009-05-05 Thread Reuss, Matthias
Hello, In the MergeModule I am developing with WiX 2, I need Substitution entries in order to use some properties from the base MSI; however I do not need Configuration entries because I do not need the module to be configured at merge time. The resulting MSM contains a ModuleSubstitution tabl

Re: [WiX-users] registering a .net com assembly

2009-05-05 Thread barry
barry wrote: > > > Hi There, > After another long day trying to isolate this problem I think I am making > some progress.. > > I changed the Addin GUID to a new guid and regenerated the wix fragment > and reinstalled on my development box. The Addin installs correctly and > gets loaded in wor

[WiX-users] Problem trying to build .wixproj using v3.0.5301.0

2009-05-05 Thread Pally Sandher
I just updated to v3.0.5301.0 (was using v3.0.5224.0 last week, I update when a new build is posted on the feed). I tried building a .wixproj with Votive (We use Visual Studio 2005 at present) which built perfectly fine yesterday during the automated build I have my machine do every morning. Now it

Re: [WiX-users] Uninstall password prompt

2009-05-05 Thread Yu, Brian
Unfortunately, It's for general release. What I need to do is to only allow people who have the right password to uninstall -Original Message- From: Jeff Reed [mailto:ree...@duckcreektech.com] Sent: 01 May 2009 19:11 To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] move progress bar depending upon as custom actions goes on executing

2009-05-05 Thread Hukumchand Shah
Thanks Rob for reply. I serached but didn't get anything useful. Could you send me detail links if you have? On Fri, May 1, 2009 at 12:32 PM, Rob Mensching wrote: > Most of the WiX CustomActions do this. You might look at the > WcaProgress() code. > > Hukumchand Shah wrote: > > Hi All, > > > > I

Re: [WiX-users] Upgrade Migrate Products Flag or Custom Action

2009-05-05 Thread Alexander Shevchuk
I just want to add that there is one more option, very similar to storing property value in registry - storing it in the .ini file and use IniFileSearch. Murray, thanks for being so kind. I'm glad you found Major Upgrade post useful. Alex -Original Message- From: Michael Osmond [mail

Re: [WiX-users] Frustrated... can't get a simple installer to work

2009-05-05 Thread Brian Rogers
Hey Anthony, The "shut up" commands you need for light "-sice: suppress an internal consistency evaluator (ICE)" or "-sval suppress MSI/MSM validation". light.exe -sice:ICE83 -sice:ICE39 or light.exe -sval Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.