Re: [WiX-users] Creating empty folders

2009-02-15 Thread sandun css
Thanks. I was trying with only element, which doesn't create empty folders. :) On Fri, Feb 13, 2009 at 3:29 PM, Chris Ridd wrote: > > On 13 Feb 2009, at 08:45, sandun css wrote: > > > Hi, > > > > I need to create several folders, which don't contain any files at the > > installation. Is this po

Re: [WiX-users] Unresolved reference to symbolCustomAction:UninstallSqldata

2009-02-15 Thread Joe Osman
Solved it It: should be UninstallSqlData (with a capital D) Joe Osman wrote: I am trying to change the execute sequence of the custom action UninstallSqldata but I am getting the following error message: Unresolved reference to symbol CustomAction: UninstallSqldata Does anyone know what am I mi

Re: [WiX-users] Custom Actions: Install Mode + Rollback

2009-02-15 Thread Bob Arnson
Kusuma Sudheer Kumar (Tata Consultancy Services) wrote: > 1. What is the property I can use in my C# Code to find out Mode of > install [ whether I am performing Install/Uninstall/Repair or Rollback] > You're combining two concepts: Rollback is a mode of execution but install/uninstall/

Re: [WiX-users] Customizable name of a shortcut at installation time

2009-02-15 Thread Bob Arnson
Geert Gerits wrote: > How can I update the Shortcut table with a custom action? Can you please > give me a little example or point me in the right direction? Should I > use a vbscript to modify it or can it be done with the "standard" > attributes of a custom action? > I'm talking about a cust

Re: [WiX-users] Delete/Add Firewall exception

2009-02-15 Thread Bob Arnson
Harrison Le wrote: > How can I translate these commands into WiX: > netsh advfirewall firewall delete rule name="User Mode Remote Desktop" > netsh advfirewall firewall add rule name="User Mode Remote Desktop" dir=in > protocol=tcp localport=3389 service=termservice action=allow enable=yes > ? >

Re: [WiX-users] Unresolved reference to symbol CustomAction: UninstallSqldata

2009-02-15 Thread Bob Arnson
Joe Osman wrote: > I am trying to change the execute sequence of the custom action > UninstallSqldata but I am getting the following error message: > Unresolved reference to symbol CustomAction: UninstallSqldata > Does anyone know what am I missing? A capital D. But don't reschedule WiX custom ac

Re: [WiX-users] Disk usage

2009-02-15 Thread Bob Arnson
Simon Topley wrote: > I'm sure this is old ground but we have many features in our installer > that are hidden, so when users are installing they see the disk usage > for our one feature that isn't hidden and notice that the size is very > small. Is there some sort of hack to trick the installer in

Re: [WiX-users] Custom dialog

2009-02-15 Thread Bob Arnson
Lough, Norman wrote: > I thought I would include > it after the VerifyReadyDlg but before the ProgressDlg. VerifyReadyDlg handles all the installation commands, so if you want to make another dialog the "go" dialog, you need to remove the installation commands from your copy of VerifyReadyDlg a

Re: [WiX-users] A problem of the hyperlink button

2009-02-15 Thread Bob Arnson
姜松 wrote: > Is there any alternative for MSI3.0 and MSI4.0? > No, MSI UI support doesn't include a hyperlink before MSI 5.0. -- sig://boB http://joyofsetup.com/ -- Open Source Business Conference (OSBC), Marc

Re: [WiX-users] FW: Custom WiX Dialog Issues->Getting folder

2009-02-15 Thread Bob Arnson
Stephen Tunney wrote: > You need to set _BrowseProperty just before you use it. You'll also need to use a public, secure property so the value can be passed to the execute sequence. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] [%USERDOMAIN]\[%USERNAME] as initial text for Edit control

2009-02-15 Thread Bob Arnson
Konstantin Vlasenko wrote: > Text='[%USERDOMAIN]\[%USERNAME]'> > You specify a control's defaults by setting the property the control refers to. -- sig://boB http://joyofsetup.com/ -- Open Source Business Confere

Re: [WiX-users] i need util:XmlFile associated SchedXmlFile action to happen before a specific CAQuietExec deferred custom action . . .

2009-02-15 Thread Bob Arnson
Robert O'Brien wrote: > Would Action="SchedXmlFile" for ensuring my util:XmlFile settings get applied just > before my CAQuietExec deferred custom action that needs those settings in > place? > No, because SchedXmlFile is what schedules ExecXmlFile. Try scheduling your custom action relativ

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Joe Osman
Thanks Michael, I am using WIX V3 Michael Osmond wrote: Joe, I don't think you cam do this in WIX V2 (if that's what you using). Michael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Monday, 16 February 2009 12:14 PM To: General discussion for Windows Inst

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Michael Osmond
Joe, I don't think you cam do this in WIX V2 (if that's what you using). Michael -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Monday, 16 February 2009 12:14 PM To: General discussion for Windows Installer XMLtoolset. Subject: [WiX-users] sql:SqlDatabase drops

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Michael Osmond
Hello Joe, I've been in a similar situation. The possible solutions I am aware of: 1. If you schedule the DeleteExistingProduct action at the end of the install (I think after the InstallFinalise), my understanding is that the install should calculate that there still is a count of one on the d

[WiX-users] Unresolved reference to symbol CustomAction: UninstallSqldata

2009-02-15 Thread Joe Osman
I am trying to change the execute sequence of the custom action UninstallSqldata but I am getting the following error message: Unresolved reference to symbol CustomAction: UninstallSqldata Does anyone know what am I missing? This is the code: NOT Installed ==

[WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-15 Thread Joe Osman
I want to have my database dropped only during uninstall and to do that I am using sql:SqlDatabase element. The problem is that the database is dropped during a major upgrade. How can I prevent it from happening? Here is the command I am using: ContinueOnError="yes" CreateOnRein

Re: [WiX-users] Custom dialog

2009-02-15 Thread Brian Rogers
Hey Norman, If you could add more to your sample it might help me out. The one thing I would suggest would be to add Publish/@Order=100 or something along those lines. Make sure not to use . Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Fri, Feb

Re: [WiX-users] openfiledialog

2009-02-15 Thread Brian Rogers
Hey Dieter, It will be difficult to achieve what you are looking for using the native Windows Installer UI. You could look at the file browse dialog used in WixUI_InstallDir. From there I would look at using a custom action to validate the property value selected. If it isn't valid, prompt a warni

Re: [WiX-users] ICE CUB generation using WiX

2009-02-15 Thread Brian Rogers
Hey Chris, I am not very familiar with creating an ICE DB but, according to Windows Installer (Sample .cub File) it is similar to an MSI. I would imagine you could author an MSI and change the extension to .cub. The other option would b

Re: [WiX-users] hide the install subfeature option in feature tree

2009-02-15 Thread Brian Rogers
Hey Jiang, I am not exactly sure what you are speaking about in the feature tree. I have posted a screen capture of a feature tree that has no sub trees. The text you mentioned does not seem to be displayed. I would imagine if you continue to see this issue it might be due to how you are authoring