Re: [WiX-users] ServiceInstall and KeyPath

2011-01-26 Thread John Bergman
Ours allows for both. Currently the installer installs the service by default; but the .NET code allows you to install/uninstall directly from the command line as well. -Original Message- From: Rune Moberg [mailto:jjfl...@gmail.com] Sent: Wednesday, January 26, 2011 1:09 AM To: Genera

Re: [WiX-users] Getting Error LGHT0311

2011-01-26 Thread Rob Mensching
The MSI file format is ANSI. That means your characters have to conform to whatever codepage you are picking. If you don't fix the error, you'll get squares instead of whatever character you think you want. There isn't really anything the WiX toolset can do. It's an MSI limitation. -- virtually,

Re: [WiX-users] Getting Error LGHT0311

2011-01-26 Thread Thom Leigh
FYI Bhavik, codepage 65001 is UTF-8, but Windows Installer doesn't support it. Specifically, when I've used it, it messed up the fonts in the Basic UI when uninstalling (showed squares) which I kind of worked around by making it show the Maintenance dialog when uninstalling from ARP. In the long

Re: [WiX-users] Feature condition evaluation

2011-01-26 Thread Simon Topley
Thanks Blair, you are correct, I attempted to use feature ref's and ran into a number of issues, but I think it's time I revisited it. The biggest issue I ran into is that feature "C" needs to be installed if 1 of 5 other features is installed, I guess I've over simplified my explanation of the

Re: [WiX-users] Feature condition evaluation

2011-01-26 Thread Simon Topley
I think I'll have to ditch the feature altogether and just repeat the components refs in all of the features that require it :( then I can just check the install state of the component to show or hide my checkbox on the exit dialog like this: NOT Installed AND ?cConfigT>2

Re: [WiX-users] Feature condition evaluation

2011-01-26 Thread maksim.vazhenin
Maybe you should hide the feature "C" from user, and in the InstallExecuteSequence run a custom action to change the state of the feature "C" (it can be made with MsiSetFeatureState function) according to the install states of other features (you can get feature state with MsiGetFeatureState fu

Re: [WiX-users] Feature condition evaluation

2011-01-26 Thread Simon Topley
I've gone down the repeated component ref's route and I'm happy with how it works, it ref counts it correctly so it only removes the component once the last feature that uses it has gone. The XML looks a bit messy but it works exactly how I want it too. All I need to get to work now is this che

Re: [WiX-users] Feature condition evaluation

2011-01-26 Thread Simon Topley
and the problem was... I was only testing the checkbox after installing then doing a "change" install. so the "Not Installed" was stopping it from working. Thanks for your help everyone, I knew it had to be simple Simon -Original Message- From: Simon Topley [mailto:simon.top...@mwh

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Pally Sandher
Yes you do have a directory with Id="DesktopFolder". A cursory search for Id="DesktopFolder" found that in seconds in your code. That should be Directory not DirectoryRef which is what the error is telling you. You're trying to reference something which doesn't exist as far as your code is conc

Re: [WiX-users] ListBox: ListBox1 for Control: ListBox1 of Dialog: MyDialog is not in the ListBox table

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
Interesting... The MSI package produced does not include the ListBox table. That's really odd! I've added in my fragment that declares the dialog with the WebSiteListBox control but I still do not get a ListBox table in the MSI. This fragment exists in a wixlib that I reference from my produc

Re: [WiX-users] ListBox: ListBox1 for Control: ListBox1 of Dialog: MyDialog is not in the ListBox table

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
Posting for the benefit of others. The ListBox table metadata existed in my MSI package but I could not find an actual table because I didn't have any rows defined at build-time. I use InstEdit. I don't know if Orca would have shown an empty ListBox table. The ICE17 violation is trying to tell

[WiX-users] Burn questions

2011-01-26 Thread Tobias S
Hi, As it seems that my post some time ago didn't go through to the Mailinglist here it is again. Sorry if this should be a double posting. Today I did a short coding using burn and saw the fantastic abilities and the placeholders in the help where some additional nice functionality will come. T

[WiX-users] Impersonating different users during install

2011-01-26 Thread Robert Hermann
I've built an installer for a backend service which communicates with a database. When the installer is run, the user selects the database from a list of detected databases on the network. The person who is running the install may not have rights to these databases so I give them the opportu

[WiX-users] Burn questions

2011-01-26 Thread Tobias S
Hi, Just did a short coding using burn and saw the fantastic abilities and the placeholders in the help where some additional nice functionality will come. That made me a bit curious about WiX and raised some questions. Would be fine if somebody could give me some details for a better understandi

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
But that is a DirectoryRef. The way I understood it is this should reference "DesktopFolder" not define it. Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com]

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
When I change the DirectoryRef to Directory I get two errors: Directory with Id 'DesktopFolder' is not a valid root directory. There may only be a single root directory per product or module and its Id attribute value must be 'TARGETDIR' and its Name attribute value must be 'SourceDir'. The D

Re: [WiX-users] Setting properties

2011-01-26 Thread CoolBreeze
Hi Guys, I'm still trying to get this resolved. When I viewed the log file I could see that my property contained the value I assigned to it from within my CustomAction; however, it doesn't contain anything when I try use it within the wrote: > I have a property I've set within a CustomAction that

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
The first error tells you what you must do. "There may only be a single root directory per product or module and its Id attribute value must be 'TARGETDIR' and its Name attribute value must be 'SourceDir'." I assume you already have one of these otherwise you would not be able to install any f

Re: [WiX-users] Setting properties

2011-01-26 Thread Castro, Edwin G. (Hillsboro)
Did you schedule the TestSqlConnection custom action before gets scheduled? 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 printing this e-mail > -Original Message-

Re: [WiX-users] Setting properties

2011-01-26 Thread CoolBreeze
My TestSqlConnection custom action is called after "ExecuteAction" on my Product.wxs. Below is a snippet of my Product.wxs. My Components.wxs snippet. Thanks On Wed, Jan 26, 2011 at 6:52 PM, Castro

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Kevin Burton
So what does it mean to have "DesktopFolder" underneath the TARGETDIR. That is certainly not the hierarchy that is on my computer. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Wednesday, January 26, 2011 5:51 PM To: General discussion for W

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Jeremy Farrell
It means much the same as having ProgramFilesFolder underneath the TARGETDIR - the shortcut will go where you want it to go and the installer will build. > From: Kevin Burton [mailto:kev...@buyseasons.com] > Sent: Thursday, January 27, 2011 1:57 AM > > So what does it mean to have "DesktopFolde

Re: [WiX-users] Where is DesktopFolder?

2011-01-26 Thread Alexander Shevchuk (Volt)
>Kevin Burton wrote: >So what does it mean to have "DesktopFolder" underneath the TARGETDIR. That is >certainly not the hierarchy that is on my computer. Kevin, Let me try to explain this one. Think of it as "default" directory hierarchy with possibility to override default entirely or partial

Re: [WiX-users] Burn questions

2011-01-26 Thread Rob Mensching
Ahh, someone has been digging deeper. Very cool. 0. There's nothing secret about Burn. It's getting close to being very solid and documentation will become the focus. Questions here are always welcome. 1. UI - yes, Burn will handle all facets of the install process. I'm also still investigating