[WiX-users] Cani i use Wixlib instead of Merge Module

2009-06-11 Thread karthik.shenoy
Hi All, I want to create an project with wix Lib instead of using WiX merge module. Where can I find any information on WiX lib projects. Cani I include Files, registry information in WiX Libs. I created a sample project as mentioned below in WiXlib and gave the reference to same in MSI in

Re: [WiX-users] SqlDatabase trusted connection

2009-06-11 Thread Neil Sleightholm
Sorry used the incorrect term, I meant allow the SqlDatabase custom action to run non impersonated (like you can with the element). Neil -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 12 June 2009 04:18 To: General discussion for Windows Installer XML toolset. Su

Re: [WiX-users] Bug in Torch?

2009-06-11 Thread Heath Stewart
The problem is that you're not specifying the Product/@UpgradeCodeattribute. If you do, this should pass. The simple test you provided did. There is a bug in the code we will consider for WiX v3.5 but with a simple workaround and WiX v3 shutting down for RTM (only high-pri bugs) we will not fix thi

Re: [WiX-users] Question about "Customizing Built-in WixUI Dialog Sets" topic

2009-06-11 Thread Andres Juarez
Hi Bob. I am at a lost here. This is what I am trying I need to change the UI of the WIXUI_ADvance sequence. In particular the issue I have is that I am adding a launch to the release notes after the package instalation, I followed the WIX help files to do this, and it worked gre

Re: [WiX-users] Installing a service

2009-06-11 Thread Bob Arnson
MacDiarmid, James D wrote: > Can someone tell me what happens when the -I switch is used on the > command line when running a service executable? It's arbitrary code so it could be anything. > I know it's supposed to > install it as a service from a "DOS" prompt. I'm trying to replicate > this

Re: [WiX-users] patch GUI

2009-06-11 Thread Bob Arnson
shibo wrote: > How can I customize patch to have GUI to display license agreement and > release notes? If possible, any guide/tutorial/reference available? > I'm not aware of any. Most people ship their patches in an .exe wrapper that handles the UI. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-11 Thread Bob Arnson
sandun css wrote: > Or is it needed to have the Verify Ready dialog always? > You need to reproduce what that dialog does. See src\ext\UIExtension\wixlib\VerifyReadyDlg.wxs. -- sig://boB http://joyofsetup.com/ -- C

Re: [WiX-users] SqlDatabase trusted connection

2009-06-11 Thread Bob Arnson
Neil Sleightholm wrote: > Thanks everyone for your help on this. I think I will go back to > exec'ing sqlcmd and raise a feature request to allow connection without > elevated permissions. > The custom actions don't run elevated; they're deferred but impersonate the user, including the user's

Re: [WiX-users] Dialog dimensions oddity

2009-06-11 Thread Bob Arnson
Karl Denning wrote: > The reason I ask this is I'm trying to create a bitmap for my welcome dlg > that does not fill the width of the dlg. > However, I'm having a hard time understanding the co-ordinate system. > > I've just noticed that in my MSI Dialog table, all the dialogs have the same > dime

Re: [WiX-users] Arbitrary size restrictions on Patches (Bug?)

2009-06-11 Thread Bob Arnson
martin lavelle wrote: > A clear repeatible patern has emerged. Once the cabinet exceeds (about) > 720MB, Pyro crashes. To be fair, it's not crashing, it's detecting and reporting a fatal error. > I sat watching WiX's temp files in the temp folder, and there is always one > WiX file which ballo

Re: [WiX-users] Bug in Torch?

2009-06-11 Thread Heath Stewart
I can repro it and am debugging it. Just a quick note, though: because the ProductName is localized and goes into the SummaryInfo stream, you should also set the code page for the summary information stream which is a separate @Codepage attribute. Currently it doesn't display properly because code

Re: [WiX-users] Referencing variables inside wxl files

2009-06-11 Thread Jacques Eloff
Thanks Rob I'll give that a try Jacques On Thu, Jun 11, 2009 at 7:21 PM, Rob Mensching wrote: > Bind variables *might* work because they might be processed after the > .wxl files. Preprocessor variables definitely won't because they are run > before the Compiler which doesn't even reference th

Re: [WiX-users] How to include another MSI at my MSI

2009-06-11 Thread Rob Mensching
Well, it all depends on your definition of "bootstrapper"? I have a habit of calling a chainer a bootstrapper interchangeably. Moradi, Ari wrote: > In WI 4.5, you don't need a bootstrapper. You do need to write a chainer > exe, but WI 4.5 lets you put that exe into the binary table of your "m

Re: [WiX-users] How to selectively NOT install file if file already exists on system

2009-06-11 Thread Rob Mensching
1. That is a very poor app design for installation. A few cases that are going to just be painful to get right declaratively. For example, what do you do on repair? Ick. Installation Tenet: don't let people modify the files that you install. 2. Why not do a FileSearch and Condition out the Comp

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Rob Mensching
Personally, I recommend not calling the SelfReg. You'll end up with a much more stable setup. Jirong Hu wrote: > However the dll can be unregistered from command line. > > -Original Message- > From: Jirong Hu [mailto:jirong...@gov.ab.ca] > Sent: Thursday, June 11, 2009 11:04 AM > To: 'wix

Re: [WiX-users] Referencing variables inside wxl files

2009-06-11 Thread Rob Mensching
Bind variables *might* work because they might be processed after the .wxl files. Preprocessor variables definitely won't because they are run before the Compiler which doesn't even reference the .wxl files. Jacques Eloff wrote: > Hi > > Is it possible to refer to variables inside your .wxl file

[WiX-users] Dialog dimensions oddity

2009-06-11 Thread Karl Denning
The reason I ask this is I'm trying to create a bitmap for my welcome dlg that does not fill the width of the dlg. However, I'm having a hard time understanding the co-ordinate system. I've just noticed that in my MSI Dialog table, all the dialogs have the same dimensions (370x270) However, whe

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-11 Thread Wilson, Phil
You probably want the standard MSI property SourceDir, that or the OriginalDatabase property (the full path to the MSI file) that you'll have to parse a little. Phil Wilson -Original Message- From: Jirong Hu [mailto:jirong...@gov.ab.ca] Sent: Thursday, June 11, 2009 3:12 PM To: 'Gen

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Jirong Hu
However the dll can be unregistered from command line. -Original Message- From: Jirong Hu [mailto:jirong...@gov.ab.ca] Sent: Thursday, June 11, 2009 11:04 AM To: 'wix-users@lists.sourceforge.net' Subject: Re: [WiX-users] Why Complus component is not deleted after install msi? I finally f

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-11 Thread Jirong Hu
Both of you are right, and I am able to run the following code snip. But what I get is still "C:\Inetpub\wwwroot\SFS\Configuration\" where ConfiguratorEXE is located. It's not the location where msi file is launched, which can be anywhere user store this msi file. Thanks Jirong -Origina

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-11 Thread David Bartmess
You can use the system variable $(sys.CURRENTDIR) that should get the current working directory. -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, June 11, 2009 9:50 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Ho

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 69

2009-06-11 Thread Shree Krishnamurthi
Can I do something like this: NOT Installed AND (&Feature1=3) AND NOT(!&Feature=3)) Basically I need to assign value to a property based on the feature that's selected for installation ---

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 68

2009-06-11 Thread Shree Krishnamurthi
Actually I noticed the same in my MSM as well, I use VS (which I think intern uses light and candle ) But when the MSI calling the msm is built that contains the CA properly, its jus that the MSM when opened in the ORCA doesn't seems to show it Shree Message: 4 Date: Thu, 11 Jun 2009 08:54:14 -

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Jirong Hu
I finally find out the unregister failed because it's in use. How can I fix this? Restart IIS? Action ended 10:52:56: UnregisterSFSServiceControlCOMPlus. Return value 1603. http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx 1603The file [2][3] is b

Re: [WiX-users] External UI and end of installation

2009-06-11 Thread Tomasz Grobelny
Dnia czwartek 11 czerwiec 2009 o 18:45:40 Wilson, Phil napisał(a): > The short answer is that you call MsiInstallProduct and when it returns > you're finished. Does that mean you're not doing this? > I'm using MsiDoAction and I had an impression that it returns immediately and is doing installatio

Re: [WiX-users] External UI and end of installation

2009-06-11 Thread Wilson, Phil
The short answer is that you call MsiInstallProduct and when it returns you're finished. Does that mean you're not doing this? Phil Wilson -Original Message- From: Tomasz Grobelny [mailto:tom...@grobelny.oswiecenia.net] Sent: Thursday, June 11, 2009 9:05 AM To: General discussion for

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Jirong Hu
I downloaded the latest wix 2.0.5805.1, but still having this SelfReg error. Are you sure this bug is fixed? http://sourceforge.net/tracker/?func=detail&atid=642714&aid=1632583&group_id=105970 Now I am thinking why the dll is not unregistried. Is the logic wrong here? Can anyone explain to me wh

Re: [WiX-users] How to include another MSI at my MSI

2009-06-11 Thread Moradi, Ari
In WI 4.5, you don't need a bootstrapper. You do need to write a chainer exe, but WI 4.5 lets you put that exe into the binary table of your "main" MSI. I still think it's significantly easier to just write a bootstrapper that does the chaining instead of writing a bootstrapper to upgrade to W

[WiX-users] How to selectively NOT install file if file already exists on system

2009-06-11 Thread David Bartmess
I'm trying to create an install that can check if the file being installed already exists, and not install over the top of the existing file. The reason is the customers are customizing their website that we install with a custom header GIF file, and every time we install we have to manually cop

Re: [WiX-users] External UI and end of installation

2009-06-11 Thread Tomasz Grobelny
Dnia czwartek 11 czerwiec 2009 o 07:19:37 Rob Mensching napisał(a): > Rob Mensching wrote: > > Same way. The MSI SDK has an example with a full external UI handler. > > Might check that out. > > Yes, I've seen it. Even copied it adapting from C to C#. But it doesn't seem to work as I expect it to

[WiX-users] Referencing variables inside wxl files

2009-06-11 Thread Jacques Eloff
Hi Is it possible to refer to variables inside your .wxl file? I have a situation where a value is defined inside an environment variable that is used throughout various parts of a project (msbuild, custom cmd scripts and WiX). This value is passed to candle using the -d commandline switch, so it

Re: [WiX-users] CA from merge module not in InstallExecuteSequence table of msi

2009-06-11 Thread Rob Mensching
Strange. Try running light.exe with the -notidy switch and look for the merge.log in the left over TEMP directory. It may point out a failure during merge module merging. Antony Walmsley wrote: > I've got a custom action set up in my merge module as follows : > > SourceFile="$(env.VSBUILDPA

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-11 Thread Rob Mensching
I have no idea why MSDN makes it so difficult to find stuff: http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx Jirong Hu wrote: > I am new to MSI so don't understand. I've googled also couldn't find > something like "MSI SDK Formatted". Can you please give me more information? > > Th

Re: [WiX-users] How to include another MSI at my MSI

2009-06-11 Thread Rob Mensching
Chained MSI installations still need a bootstrapper. MSI 4.5 just makes the chain rollback much easier to implement. Curtis Jewell wrote: > You can't really do that unless you want to rely on a newer version of > Windows Installer than a lot of people have. Instead, you'll want a > bootstrapper

Re: [WiX-users] DIFxApp with conditions

2009-06-11 Thread Rob Mensching
Unfortunately, we don't own the DifxApp code. It seems like the Condition on the Component should work but the DIFXApp team would have to tell you if/why it does not. Kalev Lember wrote: > Hello, > > Is it possible to conditionally install drivers with DIFxApp extension? > > If I put a Condition

Re: [WiX-users] Sharing files

2009-06-11 Thread Shree Krishnamurthi
Ron, Hmm I wanted to avoid creating another module for the common files as I have action associated with these file that change based on the component installed But I guess it makes sense to do so. It will be a lot more clean that way Thanks for your advice I will try that. Shree -Original

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Jirong Hu
Hi I was looking at heat.exe but it's from wix3.0. We are still with wix2.0 and I don't want to convert all wxs at this moment, just want to fix the problem first. Can I use this Tallow.exe from wix2? Thanks Jirong -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@

Re: [WiX-users] How to include another MSI at my MSI

2009-06-11 Thread Curtis Jewell
You can't really do that unless you want to rely on a newer version of Windows Installer than a lot of people have. Instead, you'll want a bootstrapper to do it. dotNetInstaller is a good one, you may want to google it. Other people here may have other recommendations. If you want to restrict yo

[WiX-users] DIFxApp with conditions

2009-06-11 Thread Kalev Lember
Hello, Is it possible to conditionally install drivers with DIFxApp extension? If I put a Condition element inside the Component or Feature that contains the driver files, it doesn't seem to have any effect to the custom actions that actually install the drivers. For example, one of the custom

Re: [WiX-users] How to get the current directory of msi is running from?

2009-06-11 Thread Jirong Hu
I am new to MSI so don't understand. I've googled also couldn't find something like "MSI SDK Formatted". Can you please give me more information? Thanks Jirong -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, June 10, 2009 4:41 PM To: General discuss

[WiX-users] How to include another MSI at my MSI

2009-06-11 Thread Frank Li
I want to include third part MSI at my product. How to do it? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the rep

[WiX-users] CA from merge module not in InstallExecuteSequence table of msi

2009-06-11 Thread Antony Walmsley
I've got a custom action set up in my merge module as follows : $ComputerName=2 Looking in Orca at the msm file, I see that the CustomAction table and the ModuleInstallExecuteSequence table have the custom action in them as ex However, looking in the msi file that uses

Re: [WiX-users] Why Complus component is not deleted after install msi?

2009-06-11 Thread Rahul.Ekbote
Hi, When we use heat it creates the registration information. So what is useful to use heat or Registry table. How to register .dll files using Registry table. There is attribute neveroveride and permanent in component element, When to use that attributes. -Original Message- From: Rob Me

[WiX-users] Check INSTALLDIR is empty or not

2009-06-11 Thread sandun css
Hi, I need to install my msi to an empty directory. (Without creating a new directory.) So, is there a way in WiX to verify whether the browsed 'INSTALLDIR' is an empty one or not? Thanks, Sandun -- Crystal Reports - New