Re: [WiX-users] How to create and reference a custom pre-requisitepackage

2013-04-11 Thread ptr
I ran into the same issue. Everytime the msi is built its check sum is indeed different and the bundle stores this information. What you can do is skip the msi build step unless it has actually changed and copy it the desired location so that when the bundle builds it picks the same msi everytime

Re: [WiX-users] what is the right way to cancel a partial installation

2013-04-10 Thread ptr
se rollback. > > > On Wed, Apr 10, 2013 at 2:41 PM, ptr wrote: > > > hey all > > > > I have a custom managed boostrapper that installs .NET4 framework as a > > prereq. Let's call this OurProductWix.exe. > > > > Now we have old installshied based

[WiX-users] what is the right way to cancel a partial installation

2013-04-10 Thread ptr
hey all I have a custom managed boostrapper that installs .NET4 framework as a prereq. Let's call this OurProductWix.exe. Now we have old installshied based installers , let's call it OurProductSheild.exe Now consider this workflow 1) User has OurProductShield.exe already installed. 2) User la

Re: [WiX-users] Wildcards

2013-04-10 Thread ptr
lways generate the same guid in the face of the > same file for 'upgrades' etc.? > > Seems I have a lot more learning to do. > > Thanks > > Best regards > Mr. Gareth Williams > Trinity Digital > > > -Original Message- > From: ptr [mailto:

Re: [WiX-users] Wildcards

2013-04-10 Thread ptr
You can easily use a HeatDirectory task to achieve what you want. Basically it will walk the directory tree and create a wix file that you can use in your project. On Wed, Apr 10, 2013 at 2:44 AM, Gareth Williams < gar...@trinitydigital.co.uk> wrote: > Hello All. > > Considering using WiX to bui

[WiX-users] can related bundle be used to install uninstall old products

2013-04-09 Thread ptr
hey all We upgraded all our installers to use WIX boostrapper instead of InstallShield generated boostrappers. Can the wix relatedbundle feature be used to detect and uninstall our old installsheild products ? If not, Can somebody recommend how to achieve the same? Thanks in advance Raj ---

[WiX-users] Accessing command line parameters

2013-04-09 Thread ptr
hey all In my managed bootstrapper I can get access to command line parameters via Command.GetCommandLineArgs(). ParseCommandLine@src\burn\engine\core.cpp seems to parse lot of burn standard command line parameters and pass the rest to my BA. Is this a supported scenario ? http://sourceforge.net/

Re: [WiX-users] Burn 3.7.1224.0 Builtin Variable not working

2013-04-08 Thread ptr
I have my MsiPackage as Now if you update using Engine.SetVariable** and give AnarkInstallFolder a new value. This should be passed to the MSI -Raj On Mon, Apr 8, 2013 at 3:50 PM, Marco Tognacci wrote: > With FormatString I can evaluate the variable but for using this value as

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread ptr
Holdings, Inc. > LiveTechnology Park: 16 Sterling Lake Rd, Tuxedo Park, NY 10987 > Phone: 845.351.5100 Direct: 845.535.6205 Fax: 845.351.5102 > Email: nmil...@livetechnology.com > Website: www.LiveTechnology.com > > -Original Message- > From: ptr [mailto:ptrajku...

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread ptr
parent" > > > > > > > > > Source="pack://application:,,,/Views/Style/ButtonStyles.xaml"/> > > > > > > > > > Nicholas Miller (Network Administrator) LiveTechnology Holdings, Inc. > > > LiveTec

Re: [WiX-users] Burn 3.7.1224.0 Builtin Variable not working

2013-04-08 Thread ptr
I think if you call Bootstrapper.Engine.FormatString() it seems to evaluate the variable So if you have something like and you pass MyInstallFolder variable value to FormatString. It will be C:\Program files\Company etc... On Mon, Apr 8, 2013 at 2:26 PM, Marco Tognacci wrote: > I need to

Re: [WiX-users] Recommended values for Cache and CacheId for MsiPackage

2013-04-08 Thread ptr
Thanks Rob, But what does these variables do ? thanks Raj On Mon, Apr 8, 2013 at 1:28 PM, Rob Mensching wrote: > Recommended to leave them blank and let the toolset pick them for you. > > > On Mon, Apr 8, 2013 at 6:17 AM, ptr wrote: > > > hey all > > > >

Re: [WiX-users] Problem with SqlDatabase extension

2013-04-08 Thread ptr
Just a wild guess but is it possible that custom action is not being run as user who is doing an install. On Mon, Apr 8, 2013 at 12:01 PM, Miller, Nick (GE Intelligent Platforms) < nick.mil...@ge.com> wrote: > Hi, > > I have a Wix file where I'm using the element to create a > database. I've om

Re: [WiX-users] Visual Styles in Wix BA

2013-04-08 Thread ptr
I had the same issue. The cause seem to be that for a regular WPF application there is always an Application.Current The boostrapper kinda fakes it so there is no application.Current and as a consequence you cannot have any application level resources for a managed boostrapper. What I ended up doi

Re: [WiX-users] How to create and reference a custom pre-requisite package

2013-04-08 Thread ptr
In my investigation I have found that if you have seldom changing thirdparty components... give them their own msi's and tie down there version/product code. The boostrapper that the thirdparty msi of the required version is already installed and doesn't seem to download or install it. -Raj On

[WiX-users] Recommended values for Cache and CacheId for MsiPackage

2013-04-08 Thread ptr
hey all When you include a Msipackage in boostrapper you can specify cache and cacheid. The documenation is sparse on what these attribtues do ? What is the recommended value for these attributes ? Thanks Raj -- Minimi

[WiX-users] Please ignore Re: msi complains about higher version when run through bootstrapper

2013-04-05 Thread ptr
Please ignore this email. I somehow cut pasted the same upgrade code to two different msi's in the bootstrapper Thanks Raj On Fri, Apr 5, 2013 at 5:29 PM, ptr wrote: > hey all > > I have a computer on which a msi installs and uninstall correctly. But > when done through th

[WiX-users] msi complains about higher version when run through bootstrapper

2013-04-05 Thread ptr
hey all I have a computer on which a msi installs and uninstall correctly. But when done through the bootstrapper it complains that a higher version is already installed. The only thing is the bootstrapper is marked as version 4.1.95.8879 and the msi is marked as version 4.1.8421. I am not sure

Re: [WiX-users] Util RegistrySearch Element and Win64 attribute

2013-04-05 Thread ptr
is explicit. If you say Win64='yes' then the > search is 64-bit and vice versa. You can ignore the fact that the Burn > engine is 32-bit. It matters none. > > > On Fri, Apr 5, 2013 at 6:59 AM, ptr wrote: > > > Thanks Rob.. I just wanted to clarify it because the do

Re: [WiX-users] Util RegistrySearch Element and Win64 attribute

2013-04-05 Thread ptr
-bit on 64-bit machine and 32-bit on a 32-bit > machine (because there is no 64-bit). > > Bootstrapper is completely separate and is not affected by the MSI build. > > > On Fri, Apr 5, 2013 at 5:09 AM, ptr wrote: > > > Util RegistrySearch has an attribute Winb64 th

Re: [WiX-users] How to use PostBuild event code to include configuration in msi name (eg MyInstaller Test.msi)

2013-04-05 Thread ptr
Hi I just tried this simple project. Basically I just manually edited the wixproj and simply added OutputName override in the debug configuration. Now when I open this project and build the debug configuration the output is simplemsidebug.msi and in release the output is simplemsi.msi -Raj htt

[WiX-users] Util RegistrySearch Element and Win64 attribute

2013-04-05 Thread ptr
Util RegistrySearch has an attribute Winb64 that seems to be no by default. If this is set to Yes, Would it mean it would look in the 32bit registry on 32bit OS and 64bit registry on 64bit OS ? The reason I am seeking some clarification is become some other attributes like these seem to be have d

Re: [WiX-users] How to use PostBuild event code to include configuration in msi name (eg MyInstaller Test.msi)

2013-04-04 Thread ptr
I had to do something similar in our build because the MSI names needed the version number. The way I accomplished this is In the wixproj I changed the OutputName to MyMsi$(OutputSuffix) And when I build the msi using msbuild I just pass and OutputSuffix like so Maybe you can do something

[WiX-users] question about same upgrade code in multiple bundles

2013-04-03 Thread ptr
hey all I have a bundle B.exe that installs NET4.exe , VS2010CRT.msi , OurProduct.msi. The bundle is compressed and embeds all the packages. NET4.msi being the .NET 4 full framework VS2010CRT.msi being VS2010 CRT runtimes OurProduct.msi being all the assemblies that we develop inhouse. We supp

Re: [WiX-users] ProductVersion msi property vs Wix Version@Product

2013-04-03 Thread ptr
sion is the same". Technically speaking, I think you could write > "Upgrade when the version is lower" but I don't know that anyone does that. > > > On Wed, Apr 3, 2013 at 9:39 AM, ptr wrote: > > > hey all > > > > The ProductVersion > > < >

[WiX-users] ProductVersion msi property vs Wix Version@Product

2013-04-03 Thread ptr
hey all The ProductVersion msi documentation talks about a 3 digit version number. I have been assigning Wix XML elment Version@Product a four digit .net Version. We are currently supporting only major upgrades so i

[WiX-users] When do you need Microsoft.Deployment.WindowsInstaller.dll as PayLoad in your custom managed boostrapper

2013-04-02 Thread ptr
hey all I modelled my custom bootstrapper based on a example found on the web. Namely http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/ The example uses Microsoft.Deployment.WindowsInstaller.dll as a PayLoad. Is this really needed for a managed boostrapper ? The

[WiX-users] Advice on using remote RemotePayload properly

2013-03-29 Thread ptr
hey all I have successfully built a custom managed boostrapper. My bootstrapper chains the following packages 1) Embedded .NET 4 framework as EXEPackage 2) A microsoft prereq msi ( VS2005,2008,2010 runtimes) around 8MB 3) Some third party binaries we depend on another msi around 200 MB 4) An msi

Re: [WiX-users] Unable to get bal condition to work in custom bootstrapper

2013-03-29 Thread ptr
n Fri, Mar 29, 2013 at 8:51 AM, Rob Mensching wrote: > Yes, a custom BA would need to evaluate the conditions. wixstdba has a > function called EvaluateConditions() that does that. > > > On Fri, Mar 29, 2013 at 7:35 AM, ptr wrote: > > > hey all > > > > I am tryi

[WiX-users] Unable to get bal condition to work in custom bootstrapper

2013-03-29 Thread ptr
hey all I am trying to add a condition to my bundle and it doesn't seem to work I have something like this in my bundle 1 >= 2 The bundle references WixBalExtension and I have added xmlns:bal=" http://schemas.microsoft.com/wix/BalExtension to the root Wix xml node. The inst

Re: [WiX-users] WIX Installer Machine Name

2013-03-26 Thread ptr
You can use the [ComputerName] property On Tue, Mar 26, 2013 at 7:09 AM, Pally Sandher wrote: > http://msdn.microsoft.com/en-gb/library/windows/desktop/aa368009.aspx > Found under Operating System Properties in the Property Reference at > http://msdn.microsoft.com/en-us/library/aa370905.aspx > >

[WiX-users] Explanation of Microsoft.Tools.WindowsInstallerXml.Bootstrapper.Display

2013-02-12 Thread ptr
Hey all Does anybody know when is Display.Embedded and Display.Passive used for bootstrapper ? Is this documented somewhere ? Thanks raj -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before t

[WiX-users] When is ExecuteFilesInUse invoked for custom .NET bootstrapper

2013-02-11 Thread ptr
hey all I am trying to handle all possible error scenarios for my custom bootstrapper. Even if main executable I have installed is running, Bootstrapper.ExecuteFilesInUse is never invoked. How can one test this scenario ? Thanks raj ---

[WiX-users] Helpful tip for debugging your BootstrapperApplication

2013-02-08 Thread ptr
hey all I just thought I would share with everyone something I that I wrote that I find saves me lot of time. If you are developing a customer .NET bootstrapper you periodically need to attach and debug your BootstrapperApplication. One can easily solve this by having a line System.Diagnostics

[WiX-users] What is the correct way to use PreprocessorVariable in HeatDirectory

2013-01-14 Thread ptr
hey all I am using heat to harvest a directory like so Which generates a *.wxs file like so http://schemas.microsoft.com/wix/2006/wi";> Is there a way to specify a include directive with Heat s

Re: [WiX-users] 64bit bootstrapper using wix

2013-01-11 Thread ptr
itions to decide which subset of > installers to run. > > Jacob > > -Original Message- > From: ptr [mailto:ptrajku...@gmail.com] > Sent: Friday, January 11, 2013 3:47 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] 64bit bootstrapper using wix

[WiX-users] 64bit bootstrapper using wix

2013-01-11 Thread ptr
hey all Is making a 64bit boot strapper supported by wix 3.7. I am trying to make a 64bit custom bootstrapper and i get the following error in the installation log [1120:17E8][2013-01-11T14:27:10]i000: Loading managed bootstrapper application. [1120:17E8][2013-01-11T14:27:10]e000: Error 0x800700