[WiX-users] VBScript CA Object not supported error

2008-08-28 Thread Andy2k8
I get the following error when MSI tries to run the this VBScript CA that deletes a folder option explicit Dim fso,InstallPath,tmp,res Set installer = CreateObject("WindowsInstaller.Installer") Set fso = CreateObject("Scripting.FileSystemObject") InstallPath = Property("INSTALLDIR") tmp = Mid

Re: [WiX-users] launch webpage on uninstall

2008-08-28 Thread Ewart MacLucas
Thanks Brian. I've look at the ShellExecute link but not sure how I can apply that to my wix 2.0 project. Surely there must be a simple wix command to launch a url on uninstall, and I wondered if anyone has example code for that? cheers ewart -Original Message- From: [EMAIL PROTECTED] [

[WiX-users] MsiGetMode(hInstall, MSIRUNMODE_LOGENABLED) always seems to report false, any ideas?

2008-08-28 Thread Nick Hunt
Hi, I'm trying to determine whether msiexec was run with logging on in one of my custom actions. The method of using MsiGetMode seemed pretty straight forward but it is always returning false. Just to clarify, I am calling the msi with msiexec and the /L option, and I've determined that the MsiGet

[WiX-users] Adding tables to msi installations and localizing

2008-08-28 Thread Sean Farrow
signature database 3397 (20080828) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

Re: [WiX-users] Disposable files

2008-08-28 Thread Alexander Shevchuk
You can put all of your "disposable" files in a component with Guid set to empty string. That will make component unmanaged and MSI won't repair or uninstall it. To delete files after installation use Custom Action Type 50 scheduled. Alex -Original Message- From: [EMAIL PROTECTED] [

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Neil Sleightholm
I have resolved this now (see earlier post) but I am on Windows XP (and Vista) and I am fairly sure that WIX_ACCOUNT_NETWORKSERVICE or the others do not work with PermissionsEx, I have looked at the code and I don't see anything to handle it. But as I have now found out it is not necessary because

Re: [WiX-users] Strange "Privileged" property behavior on Vista

2008-08-28 Thread Jon Seanor
You are correct - they need to be in both according to msdn. I'm waiting for feedback from the tester concerning this. However, on all the other Vistas where the installer works, AlwaysInstallElevated is undefined in both HKLM and HKCU. - According to the docs, the Privileged property should not

[WiX-users] Condition on the version of the FrameWork

2008-08-28 Thread habib jaouani
In the SampleDotnet, I see that we make a condition on the version of the Framework. I use the same example and I run it, but always it display to me you don't have the version of the framework. In my case, I have as a condition : FRAMEWORK35SP = "#1". I don't know the role of "#"??? Is my synta

Re: [WiX-users] Strange "Privileged" property behavior on Vista

2008-08-28 Thread Buddell, James
Have you applied the policy to both HKLM and HKCU? I *think* that one needs to go in both. Cheers, James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Seanor Sent: 28 August 2008 16:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Strang

Re: [WiX-users] Strange "Privileged" property behavior on Vista

2008-08-28 Thread Jon Seanor
One other thing - the PC that the installer fails on was not 'set up' to fail, so I'm really scratching my head over this one. Jon Seanor wrote: > > Hi > > - apologies if this is a repost. I sent this question yesterday but it > looks like the list server didn't send it... > > I've got a lau

[WiX-users] Strange "Privileged" property behavior on Vista

2008-08-28 Thread Jon Seanor
Hi - apologies if this is a repost. I sent this question yesterday but it looks like the list server didn't send it... I've got a launch condition of "Privileged". My installer makes changes to the system (i.e. Program files, system32, etc) All but one of my users doing testing on Vista can inst

Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Chad Miles
I'd say this is worth a shot::: On Thu, Aug 28, 2008 at 11:31 AM, Mark Holland <[EMAIL PROTECTED]>wrote: > I agree DuplicateFiles does look nice but I don't know how to use it. > Does anyone know how I could implement this idea? > > > > 2008/8/28 Chad Miles <[EMAIL PROTECTED]> > > > Duplica

Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Mark Holland
I agree DuplicateFiles does look nice but I don't know how to use it. Does anyone know how I could implement this idea? 2008/8/28 Chad Miles <[EMAIL PROTECTED]> > DuplicateFiles looks nice, sequenced after InstallFiles... never used it > though. > > CopyFile would probably work, but if u ha

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Cody Cutrer
Are you running on Windows 2000? The Network Service account only exists on Windows XP and above. WIX_ACCOUNT_NETWORKSERVICE relies on a custom action in WixUtilExtension that creates the well-known SIDs for "common" accounts, and then uses an API call to get the localized names for them. Thi

Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Chad Miles
DuplicateFiles looks nice, sequenced after InstallFiles... never used it though. CopyFile would probably work, but if u have a bunch of files that seems tedious. On Thu, Aug 28, 2008 at 10:57 AM, Mark Holland <[EMAIL PROTECTED]>wrote: > OK, my problem is confusing - for me anyway. I'm working on

[WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Mark Holland
OK, my problem is confusing - for me anyway. I'm working on a Wix install but the problem is an msi based one as far as I can see. I am working on an Application called GLOBAL. This Application can be installed to 3 different locations depending on certain Conditions. The conditions involve the pr

[WiX-users] createFolder or directory

2008-08-28 Thread bryan rasmussen
Hi, I have to create a number of folders the paths of which match to some registry settings I'm creating, I suppose that CreateFolder makes the most sense, but it just struck me that I could create the directories with the directory element, and then have the registry setting creation taking place

Re: [WiX-users] createFolder or directory

2008-08-28 Thread bryan rasmussen
no wait, I'd have to do it with a directory inside of a directory - correct? But otherwise the same principle holds, that I can the directory element to create the subpaths rather than createfolder. Best Regards, Bryan Rasmussen On Thu, Aug 28, 2008 at 4:29 PM, bryan rasmussen <[EMAIL PROTECTED]>

Re: [WiX-users] Odp: Re: Disposable files

2008-08-28 Thread Buddell, James
You could try messing around with the order of the actions in your installexecute sequence, but you'll just cause yourself validation problems, as well as uninstall and rollback issues so that's not a good course of action. You have a CA anyway to use the files so why not just delete them in that

[WiX-users] Duplicate symbols when using SetDirectory and SetProperty

2008-08-28 Thread Robinson, David
I have an install which needs to drop files into a products plugin folder. Unfortunately, the vendor decided to change the registry key under which the install location is found when they released a service pack. I would like to use SetDirectory with conditions rather than explicitly code the Typ

Re: [WiX-users] Deleting dialogues from a ui sequence in one installer

2008-08-28 Thread Christopher Karper
ed to delete the start menu dialog and the license dialog from the > wixUI advance skeme in one installer. I don' want to modify theextension > if I can help it. How can I accomplish this? > Cheers > Sean. > > > __ Information from ESET NOD32 Antivirus, vers

Re: [WiX-users] Odp: Re: Disposable files

2008-08-28 Thread Krzysztof Kozmic
I don't need to move them anywhere. They just are needed to setup environment for the program to run (installing SSL certificates among other things). I just want to get rid of them as soon as they are done doing their thing. Is there really no other way for that than writing a Custom Action? >>

Re: [WiX-users] Odp: Re: Disposable files

2008-08-28 Thread Buddell, James
If you're moving the files somewhere else you could use the move files table, or just install them straight to their final location. The remove files action is run before install files, so you can't use that. You could also do it in your CA if you really have to. Cheers, James -Original Mess

[WiX-users] Deleting dialogues from a ui sequence in one installer

2008-08-28 Thread Sean Farrow
abase 3395 (20080828) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applica

[WiX-users] Odp: Re: Disposable files

2008-08-28 Thread Krzysztof Kozmic
This is more tricky than I thought. How do I remove fiels during installation. I want to do the folliwing. Copy files into target folder. Run custom action on those files Remove the files (some, not all) CONFIDENTIALITY NOTICE This message is intended exclusively for the individual or entity to

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Neil Sleightholm
Ok I found the answer - "use the source Luke". In secureobj.cpp which is the code that run PermissionEx account names like "NetworkService" are coded to lookup the account using the well known SID values not as I had assume by looking up the name "NetworkService" like non-known accounts. The

Re: [WiX-users] Disposable files

2008-08-28 Thread Buddell, James
Not an answer to your whole question, but if you don't set the files as keypaths of their components then the MSI won't heal when they're missing. Cheers, James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krzysztof Kozmic Sent: 28 August 2008 10:50 To

[WiX-users] Wix COM+

2008-08-28 Thread Yu, Brian
I use the following and it works in terms of putting the file in the right place but fails to create COM+. Please help The error I am getting is as follow: C:\wixdev\ERCalc2>"c:\Program Files\Windows Installer XML v3\bin\candle.exe" ERC alcManual.wxs ERCalcUI.wxs ERCalcCom.wxs ERCalcProduct.

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Chris Walford
If you look at the code for the "ExecSecureObjects" custom action you can see that it uses "AclGetWellKnownSid" (which in turn calls the Windows API AllocateAndInitializeSid) to look up the " NetworkService" SID. Is this not what you want? Chris -Original Message- From: [EMAIL PROTECTE

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Neil Sleightholm
Thanks for the tip but the problem is that I think these usernames get localised on Windows so you need to use the well known sid or lookup the name from the well known sid, therefore, I need to use WixQueryOsWellKnownSID properties. We have been caught out be this and the only place I can find

Re: [WiX-users] Adding a ui to a wix v3 project

2008-08-28 Thread Pally Sandher
Look under "Advanced WiX Topics" in the WiX 3.0 documentation. Should be a subcategory called "WiXUI Dialog Sets". If you're using Votive have a quick look at the "Extensions" sections specifically "Using WiX Extensions" page as you're likely to get an error if you try to build your MSI without add

[WiX-users] Disposable files

2008-08-28 Thread Krzysztof Kozmic
Ok, one more thing. What is the right way of adding disposable files to the project. By disposable I mean: I want to have few files (certificates to be precise) that I want to have in the installer, copy them somewhere, install to the certificate store, and then I want to remove the files. I can

[WiX-users] WIX and MSMQ

2008-08-28 Thread Krzysztof Kozmic
Is there a way of doing the following in wix? - ensuring MSMQ is installed - check if queue exists - if not create it I know there is WixMsmqExtension.dll, but its documentation is practically nonexistent, and it doesnt have anything that even remotely looks like something I need. I currently

[WiX-users] UI Sequence

2008-08-28 Thread habib jaouani
Hello, I am using the version 2.0 of WIX. Also, I use WIXEdit. In the WIX Edit, I import dialogs, resources and ... But I have a problem with a UI Sequence. We do what with this.?? -- Habib JAOUANI - This SF.Net email is s

[WiX-users] Fwd: C# Custom Action on ComboBox Item Selection.

2008-08-28 Thread pavan gadam
Any help?? -- Forwarded message -- From: pavan gadam <[EMAIL PROTECTED]> Date: Wed, Aug 27, 2008 at 7:44 PM Subject: C# Custom Action on ComboBox Item Selection. To: "General discussion for Windows Installer XML toolset." < wix-users@lists.sourceforge.net> Hi all, I am populati

Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

2008-08-28 Thread Chris Walford
See http://photomaton23.spaces.live.com/blog/cns!65F164AE43CB69AB!144.entry for how I did a similar thing with the "Authenticated Users" group Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: 28 August 2008 07:52 To: General d

[WiX-users] Adding a ui to a wix v3 project

2008-08-28 Thread Sean Farrow
Hip; Are ther any samples as to how to add a ui to a wix v3 project? Any help apreciated. Sean. __ Information from ESET NOD32 Antivirus, version of virus signature database 3394 (20080827) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com