Re: [WiX-users] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-29 Thread Chandan Koushik
Hi All, Sorry the code was not Accompanied in the previous mail... I am using Wix3.0 I have created a new Dialog using the code shown below . [DlgTitleFont]Please enter

Re: [WiX-users] Using a property for the start value in ServiceInstall

2007-08-29 Thread Bob Arnson
James Fagan wrote: Then, I would use this property in my wix ServiceInstall task as an argument to the Start option. The MSI ServiceInstall table doesn't support using properties. Could I change the condition of the StopService, DeleteService,CreateService, and StartService actions to not

Re: [WiX-users] Failure invoking remote custom action

2007-08-29 Thread Bob Arnson
John Hancock (HSG) wrote: From what I've been reading it sounds like a missing dependency problem, but running depend.exe on the DLL on the installation machine didn't reveal any errors. Another possibility is an incorrectly exported function. How are you declaring/exporting the function?

Re: [WiX-users] Setting a property from a database search?

2007-08-29 Thread Bob Arnson
Roger Lipscombe wrote: > Are searches sequenced to make even this possible? > It's possible to write a compiler extension that would hook in with a custom action to set a property at runtime. I'm not aware of any such extensions/custom actions yet -- but if you wanted to contribute one, tha

Re: [WiX-users] Filesize Limitation?

2007-08-29 Thread Bob Arnson
Dieter Oberndorfer wrote: > i want to distribute a directory with large file in it with an msi package. > The size of the directory is 5,51 GB. > The biggest files are 2 files of 2 GB, 1 file of 1 GB, 1 file of 500MB > Now when i want to build the msi, link throws an error: > > fatal error LGHT001

Re: [WiX-users] How to make features do not display in the SelectionTree

2007-08-29 Thread Bob Arnson
JosephLee wrote: > i build a windows installer by wix, in my package i have some features, some > of them used a common component and some not, so i want to install this > component when it is needed, does anyone konws how to complete this. thanks > Component can belong to multiple features. Us

Re: [WiX-users] How to display text in /qb! dialog

2007-08-29 Thread Bob Arnson
Ben Greenberg wrote: > I have both Product/@Language and Package/@Languages set to 1033. When I > open the package in Orca, I can see that Language is set to 1033 in the > Property table. But I still get the blank window behavior. > > Any other ideas on what could be causing this problem? >

Re: [WiX-users] Image Transparency

2007-08-29 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > Can anyone let me know how to imbed images with transparent backgrounds > both for PushButton control, and Bitmap control. I can only get bmp and > jpeg to show up, and neither support transparency. If I use gif or png, > the images do not show up. > MSI supports on

Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-29 Thread Bob Arnson
md5hans wrote: > Is there a way to clear an msi-table from the c++ code? Execute a DELETE query on the table. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through lo

Re: [WiX-users] Conditional Show Dialog with onExit

2007-08-29 Thread Bob Arnson
Steve S wrote: > warning LGHT1050 : The InstallUISequence table contains actions 'ExitDialog' > and 'AltExitDialog' which both have the same sequence number -1. Please > change the sequence number for one of these action > s to avoid an ICE warning. > error LGHT0204 : ICE82: This action AltExitDia

Re: [WiX-users] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-29 Thread Bob Arnson
chandan Koushik wrote: > > ... > I am using this code in the main Wix file. At a certain place I am > referring to InstallDlg1 using the element > After="WelcomeEulaDlg">INSTALLDATABASE > > But this gives me an error stating > > The primary key 'LicenseAccepted' is duplicated in

Re: [WiX-users] Checkbox on exit dialog

2007-08-29 Thread Bob Arnson
Sriram Vasudevan wrote: I am using properties WIXUI_EXITDIALOGOPTIONALTEXT and WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT to show a checkbox in the finish dialog that gives an option to the user to start our program on finish. However, this does not take effect when the user installs some feat

Re: [WiX-users] WixShellExec & CAQuietExec & their options

2007-08-29 Thread Bob Arnson
koawmfot wrote: > is there any way in the future that maybe the ability could be added > to the CAQuiateExec function which will read another property that > could be set to specify working directories? It could be a constant > property name for all CAQuietExec functions, like CAQuietDir or >

Re: [WiX-users] Kill Process

2007-08-29 Thread Bob Arnson
Simon Topley wrote: > I notice with most other things that are left running the installer > tells you to close them before it can proceed with the uninstallation, > indeed under vista it does this very thing for the process in question. > Does anyone know why this is not the case for XP/2000/2003 ?

Re: [WiX-users] Shield Decoration on buttons

2007-08-29 Thread Bob Arnson
JosephLee wrote: > I have the same problem. And now i have something even more serious. In my > package, i have something out of the installer's control, just an service > have registries self-registered. When I do an maintenance using the package, > just like "Remove" action, but the UAC credentia

[WiX-users] Calling Script functions from WIX

2007-08-29 Thread Sameeksha Chepe
HI all, I would like to know whether it is possible to pass parameters to a script function (vbscript / jscript) and use the return value in WIX file. Currently I am able to call a function from a script file with the following steps: 1. Create a element for the script file 2. Cr

[WiX-users] wixwiki: "Don't use SqlDatabase to create a database"

2007-08-29 Thread Daniel Wilson
>From the WixWiki (http://www.wixwiki.com/index.php?title=SqlExtension): "There is a serious bug with how the SqlExtension handles the SqlDatabase Element when creating a database. If a database with the same name already exists it will always be dropped. At this time it is not recommended to use

[WiX-users] Using a property for the start value in ServiceInstall

2007-08-29 Thread James Fagan
We've got an application that can be upgraded, and it also has two services. I'd like to be able to preserve the status of the services, so that when I run an update install, I can keep the values of these to be the same as what the user originally had. My thoughts were to create a two Custom Ac

[WiX-users] WORKING Example of Creating a Database in SQLEXPRESS?

2007-08-29 Thread Daniel Wilson
Hello, Can anyone out there provide a working Wix 3.0 example of using the SqlDatabase and SqlScript tags to create a database and run a few scripts in Sql Server Express 2005 using windows authentication? I've been trying to do it using the documentation and prior emails to this list and have no

[WiX-users] Failure invoking remote custom action

2007-08-29 Thread John Hancock (HSG)
I'm writing an installer for a website on Server 2003 running IIS 6.0, and I'm having problems running a DLL function from a custom action. The action just seems to fail silently (it doesn't appear to actually run the function) and I get a return value of 3 which starts rollback of the installat

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread stian
Thanks - that works perfectly! Removing the CDATA makes it compile. When I install it on WinXP the dll is not installed, but on Win2k it is - just like I wanted. The component is now: VersionNT=500 Or NOT Version9x="" Thanks for helping! John Vottero wrote: > > Yes, you still ha

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread John Vottero
> Hi and thanks, > I was thinking the same; that it was something outside this block that > caused the problems. However, I don't have any more CDATAs or "]]>" in > this > WiX file. This file only contains a fragment, and I have another xml > containing the block. This file does not contain any CD

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread Schrieken, Rene
I sometimes suggest things from the top of my head but this I actually tried to compile and link. And for Wix2.0.5325.0 it works. What version are you using? You can leave out stuff as long as your condition doesn't use < or > as the expression. I picked it up as a best practice. Rene __

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread stian
Hi and thanks, I was thinking the same; that it was something outside this block that caused the problems. However, I don't have any more CDATAs or "]]>" in this WiX file. This file only contains a fragment, and I have another xml containing the block. This file does not contain any CDATA either.

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread John Vottero
I don't think you need the CDATA for your condition. Conditions are usually wrapped in CDATA because they often contain < and > characters. That being said, are you sure that the problem is actually in the fragment that you posted? Your CDATA looks fine to me, I'm thinking that maybe something e

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread stian
Thanks for the suggestion, but it still gives the same error... Do I have to use CDATA to achieve what I want? The component is now: And the error still: candle.exe : error CNDL0001 : Cannot have ']]>' inside an XML CDATA block. More suggestions are very welcome! Brian Simoneau

Re: [WiX-users] Do we like the same books?

2007-08-29 Thread Vamsi Krishna K.
I'm really sorry... I was checking from Shelfari which of my friends are already registered, and tried to send *only* them an invitation to my profile. Turns out, Shelfari invited *every" email address that's in my address book, and gmail caches every email address I've ever corresponded with. Onc

Re: [WiX-users] WiX-users Digest, Vol 15, Issue 156

2007-08-29 Thread Simon Topley
That would answer my question, thanks Franz. I'll have a look into a work around ... Simon >From the Windows Installer Documentation: http://msdn2.microsoft.com/en-us/library/aa372059.aspx If you expect the installer to display a FilesInUseDialog, but it does not, this may be due to one of the

Re: [WiX-users] How to install msxm3 merge module

2007-08-29 Thread Tanikella, Rajanikanth (SCR US)
Hi Davut, Yes, I installed all three. I did not try it with fewer, since all three were already in the code I had inherited. In fact, I did not have to change the WXS files at all, only the actual MSM files that are being merged in. Raj From: Davut

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread Brian Simoneau
Try this in your condition -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stian Sent: Wednesday, August 29, 2007 8:57 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule Thanks, but still the same error..

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread stian
Thanks, but still the same error.. Now my block is: Component Guid="{..}" Id="C_GDI"> ' inside an XML CDATA block. Thomas Leigh wrote: > > try replacing your ]]> with >

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread Thomas Leigh
try replacing your ]]> with > And the error I get from candle is: candle.exe : error CNDL0001 : Cannot have ']]>' inside an XML CDATA block. Any clues? Best regards. Schrieken, Rene wrote: > > I have no experience with Installshield so I cannot comment on that. And > if you have a

Re: [WiX-users] GDI+ MergeModule

2007-08-29 Thread stian
I put the condition under the component. Assume that is okay? However, I'm having problems with the condition.. candle.exe won't eat it. Here is what I use: And the error I get from candle is: candle.exe : error CNDL0001 : Cannot have ']]>' inside an XML CDATA block. Any cl

[WiX-users] Setting a property from a database search?

2007-08-29 Thread Roger Lipscombe
I'm completely new to WiX (and to MSI in general), and I'm probably barking up the wrong tree, but I was hoping to find a way to conditionally run a SQL script, for upgrading a database schema. I'd like a way to run a SQL command and store the scalar return value in a property. Something like this:

Re: [WiX-users] Kill Process

2007-08-29 Thread Strele Franz
>From the Windows Installer Documentation: http://msdn2.microsoft.com/en-us/library/aa372059.aspx If you expect the installer to display a FilesInUseDialog, but it does not, this may be due to one of the following reasons: The files in use are not executables. The installer is not actually tryi

Re: [WiX-users] Shield Decoration on buttons

2007-08-29 Thread JosephLee
hi, I have the same problem. And now i have something even more serious. In my package, i have something out of the installer's control, just an service have registries self-registered. When I do an maintenance using the package, just like "Remove" action, but the UAC credentials won't prompt, an

Re: [WiX-users] Kill Process

2007-08-29 Thread Simon Topley
It does seem odd that if this file is in use: It warns you to close it, but if this file is in use it does not: The later runs in the system tray and is only listed in the process list, not the application list in the task manager, this could be related. *Shrugs shoulders Simon -Origi

Re: [WiX-users] Kill Process

2007-08-29 Thread Simon Topley
That would make sense... :( -Original Message- From: Schrieken, Rene [mailto:[EMAIL PROTECTED] Sent: 29 August 2007 09:39 To: Simon Topley; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Kill Process " Does anyone know why this is not the case for XP/2000/2003 ?" Wild guess: V

Re: [WiX-users] Kill Process

2007-08-29 Thread Schrieken, Rene
" Does anyone know why this is not the case for XP/2000/2003 ?" Wild guess: Vista is Windows Installer 4.0, XP/2000/2003 is Windows Installer 3.0 or less? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Topley Sent: Wednesday, August 29, 2007 9:30

Re: [WiX-users] Image Transparency

2007-08-29 Thread Schrieken, Rene
As far as I know only bitmap and jpeg are supported formats in MSI. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 28, 2007 11:25 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Image Transparency Can

Re: [WiX-users] (network) permissions under vista

2007-08-29 Thread Rob Hamflett
Network shares are specific to the suer who created them. When the server side of the installation runs, it runs as SYSTEM (or LocalService or something), which won't have visibility of your network shares. This is probably why your deferred custom action doesn't work. If you tried to run i

Re: [WiX-users] Registry Entry befor Service Install

2007-08-29 Thread Rob Hamflett
I think they should already be in the desired order, but you want to control the scheduling of StopServices, DeleteServices, RemoveRegistryValues, RemoveFiles, InstallFiles, WriteRegistryValues, InstallServices and StartServices. Rob Trevor Clifton wrote: > Hello all, > > > > I am looking

Re: [WiX-users] Different action on uninstall

2007-08-29 Thread Rob Hamflett
In my installations, clicking the final 'remove' button sets REMOVE="ALL". Is this not a requirement, given that the REMOVE property is supposed to contain the list of features to be removed or the word "ALL"? In any case, you can just set some other property when the user clicks this button

Re: [WiX-users] Kill Process

2007-08-29 Thread Simon Topley
Hello all, I am still having some trouble with this process that is left running during the uninstallation. I haven't come up with a clean way to solve this yet. I notice with most other things that are left running the installer tells you to close them before it can proceed with the uninstallati