Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread dB .
This is getting off-topic, lets close the thread with this :) I am not sure specifically about those, but System.Security.Principal.WindowsIdentity does a great job at a lot of related tasks. Alternatively you can find a lot of PInvoke code that deals with this in project Waffle (http://waffle.

Re: [WiX-users] Custom Browse Dialog

2010-12-17 Thread sangeeta1
No, I will be taking a look at it a bit later. I am planning to implement it in c++ custom action. will post the code once i get to it. On Fri, Dec 17, 2010 at 12:06 PM, kim [via Windows Installer XML (WiX) toolset] > wrote: > Hi Sangeeta1 > > Did you got the customise file open dialog working

[WiX-users] Sequencing Components in Feature Element

2010-12-17 Thread kim
Hello all, I want to replace a file that has been installed by my installer. Problem:My executing sequence is not working correctly. The following code is first creating file using the component "ConfigCopyFile" which is the then getting replace by the file created by "OneCoreFiles". I want thi

[WiX-users] Display files in a directory list

2010-12-17 Thread kim
Is there a way for user to select a specific file using BrowseDlg? All i can find is that you can select only a folder!! I believe File selection is one of the "common" functionality needed. Can anyone provide some suggestion on how this can be achieved. Thanks! -- View this message in context:

Re: [WiX-users] File open on share

2010-12-17 Thread Rob Mensching
Doesn't exist today. Would be a cool Custom Action if you wanted to contribute it. On Fri, Dec 17, 2010 at 8:53 AM, Sam Domonkos wrote: > Hi, I may just be overlooking this in the Windows Installer docs or WiX > docs, but is there a built in way of checking if a file(component) is > open via a s

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread Castro, Edwin G. (Hillsboro)
Out of curiosity, are the LookupAccountName and LookupAccountSid APIs available from .NET code (without explicit interop)? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before p

[WiX-users] File open on share

2010-12-17 Thread Sam Domonkos
Hi, I may just be overlooking this in the Windows Installer docs or WiX docs, but is there a built in way of checking if a file(component) is open via a share to avoid a reboot and not require the user to check manually? I would like to abort the install completely with no changes made or in

Re: [WiX-users] Custom Browse Dialog

2010-12-17 Thread kim
Hi Sangeeta1 Did you got the customise file open dialog working? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Browse-Dialog-tp5413342p5845549.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread dB .
Note that while the code will work, this might be a very bad plan altogether. First, if you're trying to verify whether a user "exists", aka is available to this machine to be used in any capacity, you're going to miss local users and users in trusted domains. In 75% of customers that I have see

Re: [WiX-users] Check if user exists in UI

2010-12-17 Thread dB .
Just curious, why not? You're using wix, that includes several CA DLLs, it's 3rd party too. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: sangeeta1 [mailto:snmsn...@gmail.com] Sent: Thursday, December 16, 2010 3:12 PM To: wix-users@lists.sourceforge.net Subje

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread David Watson
I got the following running from my desktop (with tweaks to remove the session object), I've not tried it from an msi though. I think your script was getting mangled by the mailing list or your mail client. Function CheckUserExists Session.Property("IAMUSERNAME") Set objRootDSE =

Re: [WiX-users] Selectively updating app.config

2010-12-17 Thread Thom Leigh
This isn't what you want but might help you make a start: Basically this will append a node to the node but only if one doesn't already exist (VerifyPath='/Settings/DbInstance'). Then it sets the value of the node (either the pre-existing one, or the newly created one)