Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread little.forest
Thanks Phil for your info and the posts. If your customers include enterprises.. - Yes, we do have enterprise customers who do the installation for thousands of workstations. As you know, normally network admin will do this work. And the application won't be launched at the end because the

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread little.forest
Thanks Sascha. Yes, we have some enterprise customers. As what I just replied to Phil's email, that's no problem for us. The problem is our QA insist on this use case: the end user run as admin and further the application is launched as admin as well, then the settings will be saved in admin

Re: [WiX-users] Patch/Media/@Id question

2009-12-17 Thread Yan Sklyarenko
Thanks, Peter! I've re-read those comments several times and I also think I'm doing the things correctly :) -- Yan -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, December 16, 2009 19:26 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Anybody know how to use EmbeddedUI?

2009-12-17 Thread CristianG
If anyone is getting the EXEC : error : No CA or UI entry points found in module message, make sure that the class implementing IEmbeddedUI is public. haripanicker wrote: I created a custom action project that implements the IEmbeddedUI interface. when i compile it.. i get this

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Rob Mensching
I'd always recommend the WiX IIS Extension because it handles rollback and works correctly in upgrade and patching and all that. IN WiX v3.0 you do need the IIS 6 Compatibility OS feature installed but in WiX v3.5 native IIS7 support is available. On Mon, Dec 14, 2009 at 1:06 PM,

Re: [WiX-users] Another merge module problem

2009-12-17 Thread Rob Mensching
I'm not sure the best way to contact the Windows Installer team now but you might try the contact link on their blog: http://blogs.msdn.com/windows_installer_team/ On Wed, Dec 16, 2009 at 1:20 PM, Sascha Beaumont sascha.beaum...@gmail.comwrote: Looks like it's more of a bug with the .cub files

Re: [WiX-users] Question about upgrading.

2009-12-17 Thread Rob Mensching
This is one of those things where I'd have to build a few MSI files and test it. I could see the Windows Installer going a couple ways. smile/ On Wed, Dec 16, 2009 at 3:02 PM, Curtis Jewell lists.wix-us...@csjewell.fastmail.us wrote: I've got a property that a custom action will expect to

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Yan Sklyarenko
but in WiX v3.5 native IIS7 support is available Wow! Can't believe it finally happened! Rob, did you convince IIS team to fix this? Or is it a workaround made by wise WiX developers? :) -- Yan -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday,

[WiX-users] IIS6/IIS7 Detection

2009-12-17 Thread John H. Bergman (XPedient Technologies)
How do you detect if IIS6 or IIS7 are installed? Previously I was looking in the registry, is there a better way? This is how I was checking for IIS and ASP.NET 2.0, it is, however, broken with IIS7 even with the IIS6 compatibility installed. Condition Message=This setup requires the IIS

Re: [WiX-users] IIS6/IIS7 Detection

2009-12-17 Thread Yan Sklyarenko
IIsExtension offers the ready-made properties for this (also taken from registry, but under the hood): IISMAJORVERSION - major version IISMINORVERSION - minor version Thus, IIS 7.5 will be detected like: IISMAJORVERSION = #7 IISMINORVERSION = #5 Hope this helps, -- Yan

[WiX-users] Service uninstall fails in Win 7 from Control Panel

2009-12-17 Thread Adriana Rodean
Hi, I tried to uninstall my service from Control Panel on a Win 7 machine with UAC on, and it fails right after Install validation. Validating install... When i uninstall from the bootstrapper which executes the msi with REMOVE=ALL it uninstalls successfully. On an XP machine works successfully

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread Wilson, Phil
My experience has always been that QA verifies that the product works as designed and meets the spec. But your company allows QA to make significant decisions on where files are saved, in this case apparently with the consequence that licensing doesn't work for all users? Interesting

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Rob Mensching
One of the two Mike's on the WiX team actually convinced the IIS team to contribute. I was similarly surprised and pleased when he told me the news a few months ago. You can see the code today in WiX v3.5. On Thu, Dec 17, 2009 at 8:07 AM, Yan Sklyarenko y...@sitecore.net wrote: but in WiX

Re: [WiX-users] Windows installer problems when users choose install directory.

2009-12-17 Thread XorPtr
Hey! I think I was able to finally solve this issue which also related so other issues with alternate patching not working. The reason for all the trouble seemed to be the use of RegistryKey entries for non advertised shortcuts in the related components. Original wix for example: Component

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread little.forest
Thank you very much for your reply, Phil. Well, I totally agree your thoughts about QA etc. I ever worked at one of the biggest companies in the software field. I know the software process, V-cycle, spec, unit test, integration test, system test etc. But in my current company, believe it or

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Phillip_Sidari
Wow, that is good news. Is WiX 3.5 (and associated IIS extensions) stable enough for me to use in a production environment? Thanks. - Phil -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, December 17, 2009 11:54 AM To: General discussion for

Re: [WiX-users] Patching problems with alternate directories

2009-12-17 Thread XorPtr
Hey Tom, I wanted to thank you for all of your help. I actually was able to figure out the problem and get it fixed. As it turns out it was being caused by a RegistryKey entry for non advertised shortcuts. When I removed the registry key entry and set the shortcuts as advertised everything

[WiX-users] Merge Modules and Multiple Targets

2009-12-17 Thread Hoyt, David
Is it possible to have multiple MergeRedirectFolder sections in a single merge module? If so, how do I do it and then how do I consume it inside my msi? I'd like to have one merge module containing files that could potentially go into different directories at the merge module's consumer's

[WiX-users] Custom Action Sequencing

2009-12-17 Thread Kevin Garman
Hi, I'm guessing this is an easy question, but I'm not finding an answer. I have two custom actions that are in the InstallExecuteSequence and the are both set to happen 'Before' CostFinalize. What determines which happens first in this situation? Thanks, Kevin

Re: [WiX-users] Custom Action Sequencing

2009-12-17 Thread Brian Simoneau
It is indeterminate. Either action may run first. If you need them to be in a certain order, then schedule them relative to each other instead of just relative to CostFinalize. -Brian Simoneau -Original Message- From: Kevin Garman [mailto:gar...@scadaware.com] Sent: Thursday, December

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread Wilson, Phil
I don't believe there is one solution that fits every OS and all the variations of UAC vs non-UAC, launching with an elevated bootstrapper or launching from an administrative prompt that can be used in the install. There are probably solutions where the program itself can do what you want. For

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-17 Thread little.forest
I really appreciate it, Phil. I'll look into CreateRestrictedToken and CreateProcessAsUser. From: Wilson, Phil phil.wil...@wonderware.com To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Sent: Thu, December 17, 2009

[WiX-users] Quick Launch shortcut in Vista and Windows 7

2009-12-17 Thread Tony Juricic
The right substitute for Vista/XP like Quick Launch shortcut is to make the link pinned to the taskbar (IMO). It appears as simple as putting the shortcut in User Pinned\TaskBar subfolder of Quick Launch folder in Windows 7. !-- Quick Launch per-user folder -- Directory Id=QL1

[WiX-users] WiX 3.5 Help file

2009-12-17 Thread Neil Sleightholm
I downloaded WiX 3.5.1204.0 binaries and the help file doesn't seem to work, it loads ok but the right hand pane displays Navigation to the webpage was cancelled - is anyone else seeing this (the DTF help files also fail in the same way). Neil Neil Sleightholm X2 Systems Limited

[WiX-users] WixUtil/WixSQL language files...

2009-12-17 Thread Tony
Are language files available for both WiXUtil and WiXSql libraries? I see one or two for both, but by no means an extensive list. -- Tony -- This SF.Net email is sponsored by the Verizon Developer Community Take

Re: [WiX-users] WiX 3.5 Help file

2009-12-17 Thread Bruce Cran
On Thu, 17 Dec 2009 20:57:16 - Neil Sleightholm n...@x2systems.com wrote: I downloaded WiX 3.5.1204.0 binaries and the help file doesn't seem to work, it loads ok but the right hand pane displays Navigation to the webpage was cancelled - is anyone else seeing this (the DTF help files also

Re: [WiX-users] WiX 3.5 Help file

2009-12-17 Thread Neil Sleightholm
Of course! I forgot I had unblocked the v3 files. Thanks Neil -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: 17 December 2009 21:21 To: General discussion for Windows Installer XML toolset. Cc: Neil Sleightholm Subject: Re: [WiX-users] WiX 3.5 Help file On Thu,

[WiX-users] Problem detecting different version already installed...

2009-12-17 Thread Jason T.
Hello, I'm trying to detect when a different version of my package has already been installed so that I can abort the installation. I'm not looking to do the major upgrade, I just want to abort if either an older or a newer version is found (if the version is the same the repair/remove logic

Re: [WiX-users] Custom Action Sequencing

2009-12-17 Thread Kevin Garman
Got it, thanks. Kevin On Thu, 2009-12-17 at 14:45 -0500, Brian Simoneau wrote: It is indeterminate. Either action may run first. If you need them to be in a certain order, then schedule them relative to each other instead of just relative to CostFinalize. -Brian Simoneau

Re: [WiX-users] Merge Modules and Multiple Targets

2009-12-17 Thread Sascha Beaumont
I would suggest shipping multiple merge modules (even if they are interdependent for complete functionality) - we used to integrate merge modules from a third party, they provided ~10 modules but our software only needed 5 of the components. Basically it was base module, licensing module, plus

Re: [WiX-users] Quick Launch shortcut in Vista and Windows 7

2009-12-17 Thread Sascha Beaumont
It's not that simple, in fact it's not supported at all.. see http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx for some background. The Quick Launch shortcuts were never supported either, however it developers quickly figured out that dropping a shortcut in the folder did the trick.

Re: [WiX-users] Problem detecting different version already installed...

2009-12-17 Thread Sascha Beaumont
Have you tried using a custom action, instead of a launch condition to block install? e.g. Upgrade Id=$(var.Property_UpgradeCode) UpgradeVersion OnlyDetect=yes Minimum=$(var.version) Property=NEWERVERSIONDETECTED IncludeMinimum=no

Re: [WiX-users] Problem detecting different version already installed...

2009-12-17 Thread Jason T.
Thanks for the response. I had not tried a custom action, but I did just now. Same problem, doesn't do anything. When I go through the logs the NEWERVERSIONDETECTED and OLDERVERSIONDETECTED properties are not getting set. Therefore the conditions are false and the custom action never runs. I

[WiX-users] undefined variables

2009-12-17 Thread Steve Lessard
Is it me or is the preprocessor example at http://wix.sourceforge.net/manual-wix3/preprocessor.htm misleading? It contains this snippet of code: ?define IExist ? ?if $(var.Iexist) ??endif? !-- true -- Doesn't this falsely imply that this example should also work? ?define

[WiX-users] ifdef, if, elseif and more...

2009-12-17 Thread Steve Lessard
After reading the preprocessor documentation I didn't see any mention of this, but I figured I'd ask anyways. Is there any support for an expression like ?elseif defined BAR ? ? Example usage of this hypothetical expression: ?ifdef FOO ? ?define value=1 ? ?elseif defined BAR ? ?define

Re: [WiX-users] Quick Launch shortcut in Vista and Windows 7

2009-12-17 Thread Tony Juricic
Hmm... I guess I would have a hard time to pass a concept here that I actually like the declarative way of doing things and am given to push it as much as possible, no matter how much attained functionality is approved of or looked down upon in certain circles. -Original Message-

Re: [WiX-users] Problem detecting different version already installed...

2009-12-17 Thread Sascha Beaumont
Is the upgrade code set correctly? Generally the upgrade code should be the static over the lifetime of your product, it's the one thing that doesn't change between versions, builds, etc. Also note that Windows Installer only recognizes the first three fields of a version number for MSI packages,

Re: [WiX-users] undefined variables

2009-12-17 Thread Sascha Beaumont
The code will fail to compile with the following error: Undefined preprocessor variable '$(var.IDoNotExist)'. ?define Iexist ? ?if $(var.Iexist) ??endif? !-- true -- ?ifdef $(var.Iexist) ??endif? !-- true -- ?ifndef $(var.Iexist) ??endif? !-- false -- ?if

Re: [WiX-users] Problem detecting different version already installed...

2009-12-17 Thread Jason T.
The upgrade code is the same. You know, for some odd reason I was just going to try a 3 field version instead of 4 and then you mentioned this. My versions are like 1.0.0.1 and 1.0.0.2... I just figured if it was smart enough to know that something had changed (because it wasn't asking me for

Re: [WiX-users] Service uninstall fails in Win 7 from Control Panel

2009-12-17 Thread Adriana Rodean
I attached the logo of this issue, maybe will be more helpful... MSI (s) (E0:C8) [15:17:20:828]: Doing action: InstallValidate MSI (s) (E0:C8) [15:17:20:828]: Note: 1: 2205 2: 3: ActionText MSI (s) (E0:C8) [15:17:20:839]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its

Re: [WiX-users] ifdef, if, elseif and more...

2009-12-17 Thread Rob Mensching
Doesn't look like that is supported. On Thu, Dec 17, 2009 at 8:23 PM, Steve Lessard sless...@microsoft.comwrote: After reading the preprocessor documentation I didn't see any mention of this, but I figured I'd ask anyways. Is there any support for an expression like ?elseif defined BAR ? ?

Re: [WiX-users] HTTPS and IIS

2009-12-17 Thread Rob Mensching
No, definitely not. Still bugs. For example, there is a rarely crashing uninstall bug the Mike mentioned below is hunting. Apparently, it is quite a nasty heisenbug. On Thu, Dec 17, 2009 at 10:43 AM, phillip_sid...@dellteam.com wrote: Wow, that is good news. Is WiX 3.5 (and associated IIS

Re: [WiX-users] WixUtil/WixSQL language files...

2009-12-17 Thread Rob Mensching
Language files? You mean like XSD files? If so, yes. If you use Votive, then adding a reference to the appropriate Extension.dll will get you autocomplete on the xmlns at the top of your file. If you only grab the -binaries.zip then you can find the .xsd files in the doc directory. On Thu, Dec

Re: [WiX-users] Windows installer problems when users choose install directory.

2009-12-17 Thread Rob Mensching
Where was the File installed? If it was to a per-machine location then mixing in per-user stuff (like HKCU registry key) can create interesting behaviors. Sorry, I don't remember more specifics but I know there is an ICE that complains about it. Maybe that will lead to a trail... On Thu, Dec 17,

Re: [WiX-users] Expanding an env var at install time when writing to the registry

2009-12-17 Thread Rob Mensching
Brian, Why are you using a Property to set another Property? Why not just use [%MY_ENV_VAR] where you would use [MY_ENV_PROPERTY]? Bruce, 1. You can refer to the install location of a file in your MSI using the [!FileId] syntax. 2. Under ProgramFilesFolder is where you should install your

Re: [WiX-users] undefined variables

2009-12-17 Thread Steve Lessard
I stumbled upon this question because I was trying to fix a syntax bug I found in some code. Would you believe this code snippet below compiled just fine? ?elif ? is not a valid preprocessor conditional statement. Is this a bug in the compiler? ?ifdef FOO ? ?define define value=1 ?

[WiX-users] Check for admin privilege in repair/change

2009-12-17 Thread nandini sa
Hi, I have included the property: Condition Message=Must be an admin Privileged/Condition to check for admin rights during installation. An error prompt is displayed during install/remove, but the same is not shown during change/repair. Thus a non-admin user is allowed to repair and change the

Re: [WiX-users] ifdef, if, elseif and more...

2009-12-17 Thread Sascha Beaumont
The expression can be easily unrolled, elseif becomes and else block, containing an if/ifdef/ifndef... i.e. if your desired language doesn't support elseif you use else, if ?ifdef FOO ? ?define value=1 ? ?else ? ?ifdef BAR ? ?define value=2 ? ?else ? ?define