[WiX-users] Detect perUser install from perMachine install (Launch condition)

2012-09-25 Thread Dirk Ziegelmeier
Hello, I'd like to author an MSI that shall upgrade an old (non-WiX) setup. The old setup had an option where it could either be installed perMachine or perUser. The new setup should be perMachine only, so I'd like to write a launch condition that reads Please uninstall old [Product] before

Re: [WiX-users] Show progress bar during downloading .net framework

2012-09-25 Thread Pasquale Fersini
Many many many thanks, guys. You saved me a lot a time! No way to do same thing for java installer? 2012/9/25 Rob Mensching r...@robmensching.com I think you need Protocol='netfx' on the ExePackage. Built in PackageGroupRef for NETFX in WiX does this, IIRC. On Mon, Sep 24, 2012 at 8:36 AM,

[WiX-users] Architecture of an installer

2012-09-25 Thread Christian Hausknecht
Hello folks, as I have to implement an installer with WiX and burn, that must handle updates, I try to figure out, how the windows installer concepts for those tasks functions and how to set up a nice architecture around this. As I have no experience with this yet, I do not want to construct

[WiX-users] Installing Device Metadata Package

2012-09-25 Thread Peter Hull
I would like to use WiX to install a device metadata package. This needs to go into a sub-folder of a folder identified by a KNOWNFOLDERID (specifically  FOLDERID_DeviceMetadataStore) The same question was asked back in 2009 (

[WiX-users] Does Wix bootstrapper ignore regional settings? (2)

2012-09-25 Thread Harald Dersch
If the payloads weren't laid out correctly, shouldn't selecting the language explicitly via -lang fail as well (as I wrote, this works perfectly)? Since the official WiX documentation describes localizing the standard bootstrapper application rather sparsely, the layout may be indeed not

[WiX-users] Problems executing two custom actions with same button click

2012-09-25 Thread Natalie Carr
Hi I am trying to do two custom actions when a certain button is clicked but the second is never getting executed. Can anyone tell me what I am doing wrong? Control Id=Hasp Type=PushButton X=40 Y=60 Width=56 Height=34 Bitmap=yes Text=HaspImage Publish Event=DoAction

Re: [WiX-users] Detect perUser install from perMachine install (Launchcondition)

2012-09-25 Thread Peter Shirtcliffe
I assume your non-Wix setup is still an MSI. The FindRelatedProducts action that uses the Upgrade table cannot detect products installed for a different context. i.e. Your per-machine installer can't see a per-user installer using Upgrade elements. You could use upgrade elements to detect an

Re: [WiX-users] [WIX-users] Patch in Wix 3.6 is empty. warning PYRO1079: The cabinet '***.cab' does not contain any files

2012-09-25 Thread ChipSlog
Did you have any more luck with this issue Leo? I have the same problem after upgrading to Wix 3.6, nothing has changed, I still have the same patch family. In 3.5 it picks up the fact that the versions have changed on multiple files and adds them to the patch however in 3.6 it comes up with the

[WiX-users] Stuck on error PYRO0243 : Component has a changed keypath

2012-09-25 Thread Justin Hull
I tried searching Google and the archive, but I don't have a clear answer/understanding of why I am getting this error: error PYRO0243 : Component has a changed keypath I am trying to create a patch using the base version of a full install against a REL 2. According to some accounts, this

Re: [WiX-users] Stuck on error PYRO0243 : Component has a changedkeypath

2012-09-25 Thread Peter Shirtcliffe
When a keypath attribute is not explicitly specified, the first file or registry key in the component is used, but this is not recommended. Do those code snippets show the whole of the components ? You can't change the contents of a component once it's been released. That's a violation of the

Re: [WiX-users] [WIX-users] Patch in Wix 3.6 is empty. warning PYRO1079: The cabinet '***.cab' does not contain any files

2012-09-25 Thread Parker, Steven
Just to update I have found that the problem seems to stem from the torch call and if I use the wixmst file generated by 3.5 it creates the patch fine. Here is my torch call: %WIXDIR%\torch.exe -p -xi %PatchSourse%PROGRAMx32.wixpdb %NewInstall%x86\PROGRAMx32.wixpdb -out

Re: [WiX-users] Creating an uninstall shortcut

2012-09-25 Thread Allan Edwards
This worked! Thanks!!! -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, September 24, 2012 6:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creating an uninstall shortcut The code here worked:

Re: [WiX-users] Files not being removed on uninstall...

2012-09-25 Thread StevenOgilvie
Okay here is the code for the component: Component Id=cmpA65729EDA2FB9E1E1F2E330E73315D53 Guid={4C857562-218B-48E5-9635-41689CE2ADDC} Permanent=no Shared=no File Id=filB3502DB69DD6BC0F66132A07E446E472 KeyPath=yes Source=..\..\..\Source\Web\Admin\Company.Admin\bin\Newtonsoft.Json.dll /

Re: [WiX-users] Show progress bar during downloading .net framework

2012-09-25 Thread Pasquale Fersini
Hi all, i found a solution to my problem using heat on JRE installer and adding to my ExePackage RemotePayload CertificatePublicKey=1C173E3C87518DCED11B9FBD98E100D4A9AF656B CertificateThumbprint=9E2B73433C7FF0BE9C2E546C46A3D16A6CDACF32 Description=Java(TM) Platform SE binary

[WiX-users] ComponentGroup/@Source problem

2012-09-25 Thread Neil Sleightholm
I am trying to use the ComponentGroup/@Source to set the source path for some components but it is not working, the syntax I am using is: ComponentGroup Id=Test Directory=APPLICATIONFOLDER Source=$(var.SolutionDir)output Component File Source=Dummy.exe / /Component

Re: [WiX-users] ComponentGroup/@Source problem

2012-09-25 Thread Peter Shirtcliffe
I think if you specify a Source attribute at all, it overrides anything from parent elements. Try changing Source to Name. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 25 September 2012 16:46 To: General toolset. (wix-users@lists.sourceforge.net) Subject:

Re: [WiX-users] ComponentGroup/@Source problem

2012-09-25 Thread Neil Sleightholm
When I use name I get: LGHT0103: The system cannot find the file 'D:\Folder1\Folder2 ' Note: It does mention the filename. Neil -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 25 September 2012 17:26 To: General discussion for Windows Installer XML

[WiX-users] Burn to check Silverlight 4.0 installed

2012-09-25 Thread Morrison, Robert (GE Tech Infra, consultant)
Has anyone figured out how to check to see if Silverlight 4.0 has been installed from within a Burn Bundle? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat

[WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Andy Clugston
I want to create a shortcut to point to my executable. The shortcut will be used in cases where the .exe needs to run with elevate privileges. I don't see any attribute(s) in the schema that can allow me to create the shortcut with this flag. So, is it up to me to deliver the .LNK file myself?

Re: [WiX-users] Files not being removed on uninstall...

2012-09-25 Thread Rob Mensching
What is the action state for the Component cmpA65729EDA2FB9E1E1F2E330E73315D53? Search the log for the component by that name and it's Guid. You'll find more useful information since the Windows Installer bases all of it's calculations on Component states. On Tue, Sep 25, 2012 at 7:53 AM,

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Peter Shirtcliffe
Could you include a manifest with the application to require elevation/run as admin privileges ? -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 25 September 2012 18:23 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Shortcut Element

Re: [WiX-users] Files not being removed on uninstall...

2012-09-25 Thread Steven Ogilvie
INSTALL.LOG MSI (s) (F4:0C) [12:08:42:133]: Component: cmpA65729EDA2FB9E1E1F2E330E73315D53.5559BD7F_840B_4DBA_8D43_1A50B01331DC; Installed: Absent; Request: Local; Action: Local; Client State: Unknown UNINSTALL.LOG MSI (s) (B0:B8) [12:46:06:210]: Component:

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Andy Clugston
For this application, no I cannot. I know that is preferred (by me too) but some of the necessary use cases for this application kills that approach. On Tue, Sep 25, 2012 at 1:35 PM, Peter Shirtcliffe pshirtcli...@sdl.comwrote: Could you include a manifest with the application to require

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Hoover, Jacob
A dirty trick would be to have a simple AsAdmin.exe with a manifest that blindly executes the source app (same folder). -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: Tuesday, September 25, 2012 12:46 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Stuck on error PYRO0243 : Component has a changedkeypath

2012-09-25 Thread Justin Hull
Update: Digging into the file I discovered/learned some things. 1 - IDs need to match between versions 2 - IDs are case sensitive 3 - Don't go changing the order of files I got the patch working, but in the end it showed me I need to re-write much of how we do things. That was a code snippet

Re: [WiX-users] Burn to check Silverlight 4.0 installed

2012-09-25 Thread StevenOgilvie
Find the GUID for SilverLight 4.0 (easy enough, if it is a MSI user Orca to locate the ProductCode Property of the msi... I am checking for MS Sync Framework 2.1 Synchronization, my check is this(replace to suit SilverLight): util:ProductSearch Guid

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Andy Clugston
I am packaging a short cut for each architecture and using an install time condition to install the appropriate file. Sent from mobile. On Sep 25, 2012 2:32 PM, Hoover, Jacob jacob.hoo...@greenheck.com wrote: A dirty trick would be to have a simple AsAdmin.exe with a manifest that blindly

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Christopher Painter
It's not only preferred, it's the only way. An application is either logo compliant or it is not. It's not the job of the installer to mitigate it. From: Andy Clugston clug...@gmail.com Sent: Tuesday, September 25, 2012 12:49 PM To: General discussion

[WiX-users] Burn Bootstrapper run executable on exit

2012-09-25 Thread Marc Wandschneider
I'm using the WiX (3.6) Burn bootstrapper to bundle a prerequisite component (Bonjour) with the setup for my program. It works great and all, but: I'd like to add a step to the end where I run an executable from my INSTALLDIR on exit. I'm having a bit of a hard time figuring this out. I've

[WiX-users] Burn bootstrapper crashes if image specified

2012-09-25 Thread Marc Wandschneider
I'm trying to build a setup program using the Burn bootstrapper (WiX 3.6). I'm changing the theme a bit to get rid of the license screen and checkbox, and I was hoping to change the icon image in the top left. So, in my build directory, I added mytheme.xml, which is basically just the stock burn