[WiX-users] Bootstrapper of .NET Framework 3.5 SP1

2009-05-28 Thread Rahul.Ekbote
Hi, Is there bootstrapper available for .net 3.5 SP1 Thanks, Rahul Ekbote Senior Software Engineer * SunGard * ALM * Bacware * SunGard Technology Services (India), Meridian Plaza, S B Road, Shivajinagar, Pune 411016. Direct Tel +91-20-25606237 * Main Tel +91-20-30238000 * Fax +91-20-

[WiX-users] Satellite assemblies

2009-05-28 Thread Koji Ishii
Hello, I've completed my first WiX v3 project for English and Japanese, which went pretty well, and started my second one. In the first project, WiX automatically included all necessary satellite assemblies, but this time, it doesn't. I compared .wixproj, Product.wxs, en-us.wxl, and ja-jp.wxl of

[WiX-users] VC++ redistributable

2009-05-28 Thread Rahul.Ekbote
Hi, In our project we want to run VC++ redistributable file. However when I runs this .exe from my installer using custom action for this I gets error "another installer is running". It means we can not call any other installer from our .msi file Is there any other way to install vc++ redistrib

Re: [WiX-users] VC++ redistributable

2009-05-28 Thread Kim Gybels
Hi > Is there any other way to install vc++ redistributable file and .net > framework sp1 installer through our .msi installler > You can use the merge modules provided by MS for the vc++ redistributables. Here is what I use for this in WiX: http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] VC++ redistributable

2009-05-28 Thread Koji Ishii
Using the bootstrapper worked for me. http://wix.sourceforge.net/manual-wix3/install_dotnet.htm I use bootstrapper to install VC++ redistributable as well. Note that, even though I mentioned to run setup.exe rather than msi in my document, a lot of users tried to install by double-clicking msi.

Re: [WiX-users] VC++ redistributable

2009-05-28 Thread Rahul.Ekbote
Hi, http://wix.sourceforge.net/manual-wix3/install_dotnet.htm. This is for .NET framework 3.5 and not for .NET framework 3.5 SP1. Is there anything for .NET framework 3.5 SP1. Is there any difference between running .msi and .exe Can I run any other .msi or .exe installation file from our installat

[WiX-users] Small size limit on .wixout files storing Media (2GB?)

2009-05-28 Thread martin lavelle
Hi, When Building .wixout's for large installations and with the -df (Bind files) switch set, Light fails with the following message: light.exe : error LGHT0296 : An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file 2 GB or large

Re: [WiX-users] VC++ redistributable

2009-05-28 Thread Koji Ishii
Bootstrapper is a Windows SDK feature, not a WiX feature. Look at: C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages on your hard drive. If you have VS2008 SP1, there should be a directory named "DotNetFX35SP1". Open "product.xml" in the directory, and you will see: Produ

[WiX-users] How can I get the log filename specified in /log option in msiexec commandline?

2009-05-28 Thread Pavel Konyukhov
I need exactly filename in CA, I don't want to write file -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behi

Re: [WiX-users] Can't find property for current user's home directory

2009-05-28 Thread bmahf
Thanks for the reply. I had already looked in MSDN before posting. I found the link: http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx. As far as I can tell this is the full list of properties for Windows Installer. Is this the list you are talking about? There is nothing in this l

Re: [WiX-users] Publish order

2009-05-28 Thread Cranshaw, George
That's exactly what I want, the dialog is just a continue or cancel popup If the user clicks continue the install goes forward, if they select cancel the wizard exits. Its not a wizard page. Thanks, George -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wed

[WiX-users] WIX password Dialog during Uninstall Only

2009-05-28 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Requirement: I am using the silient installtion for my MSI. During activation of the msi we pass properties to the msi including user name and password. Client requirement is that during uninstall he should be uninstalling from A&R programs only. In this Msi requires the password. I am able to

Re: [WiX-users] Passing Property into MergeModule

2009-05-28 Thread Christopher Karper
I've also never seen any solid instructions or advice on how to use a configurable merge module. No one seems to actually know how. Chris On Wed, May 27, 2009 at 10:21 PM, Rob Mensching wrote: > The Merge Module would need to have a public Property and you'd have to > refer to it with its modu

Re: [WiX-users] Passing Property into MergeModule

2009-05-28 Thread Antony Walmsley
We do this for our merge modules : In the MSI xml, set up PropertyName with the value you want to pass : In the merge module xml You can then use MyName to access the value of PropertyName passed through from the installer. This is for text. Chang

Re: [WiX-users] Passing Property into MergeModule

2009-05-28 Thread David Watson
Hi, I had a go at configurable merge modules a while back from another mailing list post, but never needed to use them as I converted the dependent MSM to a wixlib. I think I got this to work, it passes the DBNAME property to the merge module. Add to a merge module wix file.

Re: [WiX-users] Passing Property into MergeModule

2009-05-28 Thread Christopher Karper
Thank you for that. How do you use "MyName" though, do you use it as if it were a property from within the merge module? Chris On Thu, May 28, 2009 at 10:20 AM, Antony Walmsley < antony.sourcefo...@gmail.com> wrote: > We do this for our merge modules : > > In the MSI xml, set up PropertyName wi

Re: [WiX-users] Long CAB file name

2009-05-28 Thread zett42
I will err on the safe side and use short names :) I have a scenario where it makes sense to base the CAB file names on ComponentGroup IDs. Now I use an algorithm to generate these names from the long ComponentGroup IDs which is similar to the one WiX uses to generate short file names... Bob Arn

Re: [WiX-users] Result of deferred custom action

2009-05-28 Thread Rob Mensching
I swear we already had this conversation. There are a couple functions in wcautil.lib (I forget the names, but they have "Script" in them I think) that can help do this. However, I highly recommend avoiding them. There are a lot of little things you have to do to use them correctly and they are

Re: [WiX-users] Bootstrapper of .NET Framework 3.5 SP1

2009-05-28 Thread Rob Mensching
There are many. Unfortunately, nothing that great in the WiX toolset yet... ours is coming in WiX v3.5. rahul.ekb...@sungard.com wrote: > Hi, > > Is there bootstrapper available for .net 3.5 SP1 > > > > > > Thanks, > > Rahul Ekbote > > Senior Software Engineer * SunGard * ALM * Bacware * > > SunG

Re: [WiX-users] Can't find property for current user's home directory

2009-05-28 Thread Rob Mensching
Sure, there is a way to get to the folder. The Windows Installer may not make it easy since, IIRC, applications are not supposed to put files there. In this case, you'll have to write a CustomAction or tell the 3rd party to stop doing things that are not recommended. Under the ApplicationDataFo

Re: [WiX-users] Welcome dialog in the WixUI_Advanced

2009-05-28 Thread Andres Juarez
Thanks for the info Bob. All I am saying is that teh PrepareDlg dialog goes on too fast, at least in my case, it caused a "what was that?" moment more than anything. But i do understand that for other people might seem different. Thanks Andres > Date: Wed, 27 May 2009 21:41:43 -0400 >

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Curtis Jewell
> > In article <1243447694545-2982772.p...@n2.nabble.com>, > > achandrapano writes: > > > >> I have a custom action that occurs right before InstallFinalize. Pressing > >> cancel and selecting 'yes' doesn't seem to cause a rollback. Is this a > >> timing issue since no rollbacks are allowed

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Rob Mensching
You can't "just check for Cancel". You need to send a message and if a cancel occurred then you'll get that in the return code from ::MsiProcessMessage(). wcautil.lib also has wrappers around many of the MSI functions since more functions than you'd expect can return cancel. Curtis Jewell wrote

Re: [WiX-users] Can't find property for current user's home directory

2009-05-28 Thread bmahf
Yeah, the 3rd party software is TortoiseHg. I have a program I need it to use in certain circumstances. I'd think these guys would know not to do this, and since they are so big and so widely used, it would be easier for me just to fix this on my end. I'll have to put a bug report in with t

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Richard
In article <1243528043.2048.1317665...@webmail.messagingengine.com>, "Curtis Jewell" writes: > I know MsiProcessMessage is what I want to do to check for that cancel > button... (I'd make the call each time I recurse into AddDirectory) but > what's opaque is what parameters do I use if chec

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Richard
In article <4a1ec07c.1030...@wixtoolset.org>, Rob Mensching writes: > You can't "just check for Cancel". You need to send a message and if a > cancel occurred then you'll get that in the return code from > ::MsiProcessMessage(). wcautil.lib also has wrappers around many of the > MSI func

[WiX-users] Binary files split into multiple blocks in the MSI

2009-05-28 Thread Sagar Vemuri
I am including an xml file as a binary in the MSI using the tag. The xml file is of a fixed size (10k always). When I open the MSI (which is built with Wix) in a hex editor I see that the file is split into two blocks (7k + 3k), and not contiguous. 1. Is there any attribute that can be set to s

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Curtis Jewell
On Thu, 28 May 2009 11:05 -0600, "Richard" wrote: > > In article <4a1ec07c.1030...@wixtoolset.org>, > Rob Mensching writes: > > > You can't "just check for Cancel". You need to send a message and if a > > cancel occurred then you'll get that in the return code from > > ::MsiProcessMess

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Curtis Jewell
On Thu, 28 May 2009 11:04 -0600, "Richard" wrote: > > In article <1243528043.2048.1317665...@webmail.messagingengine.com>, > "Curtis Jewell" writes: > > > I know MsiProcessMessage is what I want to do to check for that cancel > > button... (I'd make the call each time I recurse into AddDir

Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback

2009-05-28 Thread Richard
In article <1243536299.30433.1317687...@webmail.messagingengine.com>, "Curtis Jewell" writes: > So what I understand I need to do is: > > 1) I call MsiProcessMessage at the beginning of my CA with > INSTALLMESSAGE_ACTIONSTART with a handle that contains three things: > > [1] = "CA_ClearFo

[WiX-users] Add .vcproj to MergeModule

2009-05-28 Thread karthik thiagarajan
Hi I wanted to check if it is possible to add a .vcproj to a WIX MergeModule as a reference. I am going to be building my project using MSBuild. If I cannot do this, what other options do I have to add a .VCProj to a Merge Module as a reference? Karthik Thiagarajan ---

[WiX-users] Heat

2009-05-28 Thread Szentpali Janos
I'm trying to extract COM registration information from an .ocx file. If I run the regsvr32 file.ocx command it registers fine. If I run the heat.exe file file.ocx -out file.wxs command I get the following error: heat.exe : warning HEAT5150 : Could not harvest data from a file that wa

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

2009-05-28 Thread Andres Juarez
Hi there I am reading http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm in particular the section "Changing the UI sequence of a built-in dialog set" and I am a bit confused. If I follow those exact steps, say with the PrepareDlg.wxs and build, then I get this error: : er

Re: [WiX-users] WiX 3.0: How to change an existing Windows service's startup type

2009-05-28 Thread little.forest
Hi All, I'm still stuck on this issue. I did search the forum but didn't find any answer regarding this. Please offer help if you know of the answers. I'd really appreciate any help from you. Thanks in advance. Basically, we'd like just start a system service and change its Startup type from 'M

Re: [WiX-users] Binary files split into multiple blocks in the MSI

2009-05-28 Thread Rob Mensching
I only know of the MSI API. I expect all other means of editing an MSI are not supported. The WINE guys a pretty good at recreating Windows on Linux. You might ask them. Sagar Vemuri wrote: > I am including an xml file as a binary in the MSI using the tag. > The xml file is of a fixed size (10k

[WiX-users] Adding progressbar text on Add/Remove panel

2009-05-28 Thread Hukumchand Shah
Hi, I made one WIX installer which works fine. But when we uninstall it through Add/Remove Panel, it doesn't show any progressbar text. It shows just moving progressbar and at start only one text it shows "Gathering required information...". And no other text. I have already added element for all

[WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread WixFan
Hi, I have a Wix property which I set from a value entered by a user in a particular UI dialog. This is actually a base port number used by the program that will be installed. The default value of this is 2 (say). I want to set other port numbers based on the value of this STARTPORT prope

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread WixFan
Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT is the other port I have to set based on the value of the STARTPORT property. -- View this message in context: http://n2.nabble.com/Incrementing-the-value-of-a-Wix-Property-tp2992019p2992035.html Sent from the wix-use

[WiX-users] checkbox issues

2009-05-28 Thread Sascha Beaumont
Okay, So I've scoured the documentation and tried every which way... but I can't for the life of me figure out how to de-select a checkbox based on a registry value. Let's say for example I provide the user with the option to install a desktop shortcut or not, simple enough. However I want store

Re: [WiX-users] Adding progressbar text on Add/Remove panel

2009-05-28 Thread Sascha Beaumont
Try adding the following: It's in WiX.chm but buried in the localization section of the documentation, technically the correct place but most of us look in the UI section first :) On Fri, May 29, 2009 at 2:18 PM, Hukumchand Shah wrote: > Hi, > > I made one WIX installer which works fine. B

Re: [WiX-users] Binary files split into multiple blocks in the MSI

2009-05-28 Thread Richard
In article <1243532498231-2989196.p...@n2.nabble.com>, Sagar Vemuri writes: > 1. Is there any attribute that can be set to stop splitting up this file? No. You should neither depend on nor care about how the file is stored in the MSI. > 2. If the answer to the above question is no, is t

Re: [WiX-users] How do I preserve a configuration file on a majorupgrade?

2009-05-28 Thread Sascha Beaumont
Correctly so, QtCmdCopy is running too early (immediate action) and trying to write to a protected location while UAC is still at a lower privilege level. See http://blogs.msdn.com/rflaming/archive/2006/09/23/768146.aspx for an explanation why the actions fail under Vista. On Tue, May 26, 2009 at

Re: [WiX-users] WiX 3.0: How to run another program before launching the main application

2009-05-28 Thread Sascha Beaumont
Check out the documentation, specifically "ShellExecute CustomAction" and "How To: Run the Installed Application After Setup" in WiX.chm On Sat, May 23, 2009 at 10:13 AM, little.forest wrote: > We are using WiX version 3.0.4805.0. > > How to run another program before launching the main applicati

Re: [WiX-users] Open URL after launch condition fails

2009-05-28 Thread Sascha Beaumont
Try using two custom actions instead of a launch condition, first one to check for Silverlight with the second to launch a webpage if it's not installed. On Mon, May 25, 2009 at 12:20 AM, Bob Arnson wrote: > Jose Enrique Bolanos wrote: >> I have a launch condition which checks if Silverlight 2 is

Re: [WiX-users] Bootstrap an MSI to pass in parameters

2009-05-28 Thread Sascha Beaumont
See msi.chm, check out the MsiLogging and MsiLogFileLocation properties. On Sat, May 23, 2009 at 3:32 AM, achandrapano wrote: > > I am trying to create a bootstrapper to my MSI so I can pass in the logging > verbosity and log file location to msiexec. I have looked at setupbld.exe > but it doesn

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread Rob Mensching
I don't think the Windows Installer supports that syntax. You'll probably need a CustomAction. WixFan wrote: > Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT > is the other port I have to set based on the value of the STARTPORT > property. > -- > View this message i

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread WixFan
Thanks for the reply. Does Wix allow passing the value of a Wix property to a custom action, do some calculation there and retrieve the calculated value of the custom action to another property in Wix ? Rob Mensching-6 wrote: > > I don't think the Windows Installer supports that syntax. You'll

Re: [WiX-users] How do I preserve a configuration file on a majorupgrade?

2009-05-28 Thread si
Makes sense, just wanted to give folks a heads up. FWIW I was able to avoid this type of approach by using CopyFile e.g. We install Web.default.config and then use CopyFile to create Web.config. The key is scheduling SchedXmlConfig (and/or SchedXmlFile) after DuplicateFiles, otherwise you get a fi

Re: [WiX-users] Incrementing the value of a Wix Property

2009-05-28 Thread Rob Mensching
Well, MSI allows a CustomAction to read a property, update it so that future CustomActions can read the property. WixFan wrote: > Thanks for the reply. Does Wix allow passing the value of a Wix property to a > custom action, do some calculation there and retrieve the calculated value > of the cus

Re: [WiX-users] checkbox issues

2009-05-28 Thread Rob Mensching
I haven't tired in a while, but can't you set the Property to an empty value and have the Property go away? PS: AFAIK, the Value column of the Property has never been nullable so I'm not sure how you'd get Orca to set the Property to blank in the MSI database. Sascha Beaumont wrote: > Okay, >

Re: [WiX-users] Bootstrapper of .NET Framework 3.5 SP1

2009-05-28 Thread Rahul.Ekbote
Hi, Then is there any other workaround for installing .net 3.5 sp1? 1) Also I added bootstrapper for .net 3.5 but it is not working I added following code in my .wixproj file .NET Framework 3.5 Windows Installer 3.1 2) Also for VC++ redistributabl

Re: [WiX-users] Adding progressbar text on Add/Remove panel

2009-05-28 Thread Hukumchand Shah
Thank you for quick reply. I made the changes in the wix code as you suggested. I have added the like this in my code. ... ... But No effect. Still no text is displayed when remove the application from Add/Remove panel. Is there any other way or something more I have to do in above code? Tha