[WiX-users] Add User to predefined group fails

2008-12-04 Thread tgoffice
I want to create a new local user which should be added automatically to Administrators and Users group. I use the predefind properties of WIX UtilExtension WIX_ACCOUNT_ADMINISTRATORS and WIX_ACCOUNT_USERS. util:Group Id=AdministratorsGroup Name=[WIX_ACCOUNT_ADMINISTRATORS]/ util:Group

Re: [WiX-users] DifxApp and WiX v3

2008-12-04 Thread Rob Hamflett
Ah, I see that there are now versions of the DifxApp wixlib shipped with WiX. I was previously using v2 and using the wixlibs from the Driver Installation Tools 2.01 installation. I'll try the ones in the v3 bin folder. Rob Bob Arnson wrote: Rob Hamflett wrote: Can I get WiX v3 to

[WiX-users] Dynamic path for File Source element

2008-12-04 Thread ajay
Hi, I have requirement where I need to install the localized version of documents (ex: Release Notes) based on the language choice user selected during installation. I already have screen where user language selection (2-digit language code) is being mapped to property. I also have predefined

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-04 Thread prasoon gupta
Thanks for you suggestion based upon your suggestion i have change the condition for ConfigureSql to true but still getting the same result. attaching the log file again. the code I am using in Wix file is as follwoing Component Id=MigrateSqlDataBaseFrom15RTMTOSP Guid=

[WiX-users] SQLExtension, check if database exists

2008-12-04 Thread tgoffice
Hello - once again :jumping: Is there a posibility to check if the installer had to create the database or if the database already existed? Our customers should have the posibility to use a new database (created by installer) or they should use an existing database. (I don't want to add a

Re: [WiX-users] Unable to read the value of a property associated with a checkbox from vbscript

2008-12-04 Thread ychen
Thanks for your reply. I tried your solution, but it still doesn't work. The vbscript still prints chkLeft=, which looks like the value of the property is still not defined. It looks like chkLeft was set to x at some point (say, in that dialog), but it became undefined after that point (perhaps

Re: [WiX-users] Add User to predefined group fails

2008-12-04 Thread Richard
In article [EMAIL PROTECTED], tgoffice [EMAIL PROTECTED] writes: I want to create a new local user which should be added automatically to Administrators and Users group. IMO, this is probably a giant security hole in your application because your are almost certainly grabbing more

Re: [WiX-users] Problem regarding running SQL script from msp file.

2008-12-04 Thread Rob Mensching
Just curious, what version of the WiX toolset are you using? -Original Message- From: prasoon gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 02:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem regarding running SQL script

Re: [WiX-users] Dynamic path for File Source element

2008-12-04 Thread Rob Mensching
Properties are a runtime (install/repair/uninstall) concept. You need a build time concept. Take a look at Preprocessor and Binder variables (WixVariable element). -Original Message- From: ajay [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 02:18 To:

Re: [WiX-users] DifxApp and WiX v3

2008-12-04 Thread Rob Mensching
Yeah, the DifxApp team was kind enough to ignore our requests for WiX v3 updates. So we eventually had to do it ourself. -Original Message- From: Rob Hamflett [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 01:31 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users]

[WiX-users] Conditionally create shortcuts

2008-12-04 Thread ychen
Hi, I would like to create shortcuts based on whether one or more checkboxes are checked. Is that achievable? Component Id=DesktopShortcut Guid=... ConditionIS_CHECKED/Condition CreateFolder/ RegistryKey Root=HKCU Key=Software\Llamagraphics\Life Balance \Install

Re: [WiX-users] Conditionally create shortcuts

2008-12-04 Thread Rob Mensching
That should work. You probably don't need the CreateFolder element though. -Original Message- From: ychen [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 07:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Conditionally create shortcuts Hi, I would like to

Re: [WiX-users] SQLExtension, check if database exists

2008-12-04 Thread Rob Mensching
You'd have to write a CustomAction to search for the SQL database and set a Property or something like that. It's on the feature requests but hasn't been added to the SQL code today. -Original Message- From: tgoffice [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 07:12 To:

Re: [WiX-users] Unable to read the value of a property associated with a checkbox from vbscript

2008-12-04 Thread Vuchuru, Surekha (SBT US EXT)
Try creating a log file and study the behaviour of that property...Notice when the chkLeft property is getting modifed (after which CA or event)... FYI: To create a log file... msiexec /i name of the msi /l*vx! log.txt Thanks and Regards, Surekha Vuchuru -Original Message- From:

Re: [WiX-users] WiX CVS Source

2008-12-04 Thread Neil Sleightholm
Legal stuff != productivity :-) Two repositories would explain the delay between code fixes and them appearing in CVS. It would be nice to get to see changes earlier but I guess you have enough to do without adding to it. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED]

[WiX-users] prerequisite conditions

2008-12-04 Thread Robert O'Brien
Is it expected that prerequisite condition statements support checking feature state and action values in order to determine if prerequisite should be checked for, e.g. is the following valid given an msi that has a Feature named Databases and a SQL08DIR property assignment using registry

[WiX-users] Change existing EULA

2008-12-04 Thread Everette Clemmer
Hey all, Does anyone know how to change the EULA that¹s displayed when patching an installed application without doing a major upgrade? The way things appear to be working now, when I run the patch on a machine containing the installation I want to upgrade, the patch appears to modify the

[WiX-users] RegistrySearch fails with type=directory

2008-12-04 Thread zett42
I have the following registry searches, the 1st one fails on _some_ machines, the 2nd works as expected. Property Id=MY_EXISTING_TARGETDIR Secure=yes RegistrySearch Id=TargetDirSearch Root=HKLM

Re: [WiX-users] Add User to predefined group fails

2008-12-04 Thread tgoffice
It could be a giant security hole, that's true, nevertheless the wix command should work, right? Richard-45 wrote: In article [EMAIL PROTECTED], tgoffice [EMAIL PROTECTED] writes: I want to create a new local user which should be added automatically to Administrators and Users

Re: [WiX-users] prerequisite conditions

2008-12-04 Thread zett42
http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx Under Feature and component state values. I think it could work if you put LaunchConditions after CostFinalize in the sequence tables. Otherwise, you could also use a CustomAction using the Error attribute and you could sequence this

Re: [WiX-users] prerequisite conditions

2008-12-04 Thread Richard
In article [EMAIL PROTECTED], Robert O'Brien [EMAIL PROTECTED] writes: Is it expected that prerequisite condition statements support checking featur e state and action values in order to determine if prerequisite should be check ed for, e.g. is the following valid given an msi that has

Re: [WiX-users] multiple license agreements in one installer?

2008-12-04 Thread Roger Yen
Thanks Bob! Your suggestion also gave me the idea of including the license agreements all in the Binary table, however just last night before I went to sleep I discovered that the files in Binary table don't get compressed, and since there are 129 license agreements and are 51MB in total size,

Re: [WiX-users] multiple license agreements in one installer?

2008-12-04 Thread Simon Dahlbacka
and since there are 129 license agreements and are 51MB in total size, this wouldn't really be acceptable. Just a random thought: Poor users, if they really have to click I have read and accept for each and every one of those agreements... /Simon

[WiX-users] C# custom actions in windows 2000 not working

2008-12-04 Thread hegsie
Hi I have a couple of C# custom actions written in wix v3, they seem to work fine when they are run on windows XP and 2003 (I haven't tried vista) but when I try to execute these same CA's in Windows 2000 (after the installfinalize action in the InstallExecuteTable) they fail with 'error code

[WiX-users] Error when unistalling msi built with WIX 3.0

2008-12-04 Thread DanWard
I'm getting an error when I uninstall some msi's that were created with WIX 3.0 Here is the pertinent part of the log file. (I also get a popup dialog that states Can't connect to Internet Information Server) MSI (s) (AC:D4) [12:59:30:268]: Executing op:

Re: [WiX-users] C# custom actions in windows 2000 not working

2008-12-04 Thread Jason Ginchereau
The C# custom action library hasn't been tested on Windows 2000 and is not supported on that platform. Sorry. According to http://msdn.microsoft.com/en-us/library/aa368322.aspx, On systems prior to Windows Server 2003, custom actions launched by a DoAction ControlEvent cannot send messages

Re: [WiX-users] C# custom actions in windows 2000 not working

2008-12-04 Thread Christopher Karper
Which version of the .NET runtime are you using? Make sure you're not running under 3.0 or newer for Windows 2000. Chris On Thu, Dec 4, 2008 at 3:22 PM, hegsie [EMAIL PROTECTED] wrote: Hi I have a couple of C# custom actions written in wix v3, they seem to work fine when they are run on

Re: [WiX-users] Error when unistalling msi built with WIX 3.0

2008-12-04 Thread Rob Mensching
Is DTS installed/enabled? That's probably the issue. However, this shouldn't be a blocking failure. Can you please file a bug with this information? -Original Message- From: DanWard [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 13:30 To: wix-users@lists.sourceforge.net

Re: [WiX-users] Add User to predefined group fails

2008-12-04 Thread Rob Mensching
I've found that getting the built-in user names is always tricky. There are several different APIs and they all seem to have their preferences. You can look at the code if you want to see which APIs are getting called or just play around with the names until you find the ones that work.

Re: [WiX-users] WiX CVS Source

2008-12-04 Thread Rob Mensching
Well, the theory is that by following legal guidance now we save ourselves significant amount of pain later. Having to shutdown the WiX toolset because of a patent infringement (which seems to be the worst case these days) would seriously affect everyone's productivity. How would you like to

[WiX-users] How to execute custom action only if certain feature is selected

2008-12-04 Thread Joe Osman
I want to execute a certain custom action only if a certain feature is selected. For example I have the following feature: Feature Id=SQLFeature Level=1 ConfigurableDirectory=INSTALLDIR Description=database Title=Database ComponentRef Id=CreateNewFolder/

Re: [WiX-users] How to execute custom action only if certain feature is selected

2008-12-04 Thread Rob Mensching
MSI SDK has a section on Conditional Statement Syntax that explains this. -Original Message- From: Joe Osman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 18:38 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to execute custom action only

Re: [WiX-users] How to execute custom action only if certain feature is selected

2008-12-04 Thread John McFadyen
using FeatureName can determine the features installstate this link offers more detail http://community.acresso.com/archive/index.php?t-149887.html http://msdn.microsoft.com/en-us/library/aa368561(VS.85).aspx John On Fri, Dec 5, 2008 at 12:38 PM, Joe Osman [EMAIL PROTECTED] wrote: I want to

Re: [WiX-users] How to execute custom action only if certainfeature isselected

2008-12-04 Thread Joe Osman
Thanks I found it: I have to use ![CDATA[SQLFeature=3]] Rob Mensching wrote: MSI SDK has a section on Conditional Statement Syntax that explains this. -Original Message- From: Joe Osman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 18:38 To: General discussion for

Re: [WiX-users] Dynamic path for File Source element

2008-12-04 Thread ajay
Thanks Rob. But I really do need the runtime behavior in this scenario. I won't know which localized version of release notes to install until user selects the preferred locale in one of the install screens. Is there a way to construct the file table entry dynamically during runtime? And would

Re: [WiX-users] Dynamic path for File Source element

2008-12-04 Thread Rob Mensching
Oh, in that case you need to Condition a set of Components to make sure only one of them installs. -Original Message- From: ajay [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 20:38 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Dynamic path for File Source