Re: [WiX-users] service not being uninstalled

2008-09-18 Thread Crouch, John
While Chads advice is the best place to start, if you don't find anything useful I then maybe you could check your service process during uninstall. We have had this problem with some services which were failing to shutdown during the uninstall process which resulted in files being orphaned. _

[WiX-users] Using cmd in a CustomAction

2008-09-18 Thread Shawn Dwyer
Hi, We are preparing to release the next version of our product, which will completely remove all previous versions. However, before uninstalling we want to back up all the configuration files for the user. To accomplish this I thought I'd just use cmd.exe and a simple 'for' command to make a cop

[WiX-users] Enable/Disable button based on checkbox value??

2008-09-18 Thread Sergey Abakumoff
There are the checkbox and the button on the dialog I use, I am trying to disable the button if the checkbox is not checked and vice versa. Here is the snippet of the wixUI code: AgreeLicensing=1 However, the state of the button is always disabled des

Re: [WiX-users] Cannot use project references variables for Win32 project

2008-09-18 Thread Neil Enns
This is by design. Project references to Win32 (non-managed) projects are not supported. Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Worawit Wangwarunyoo [EMAIL PROTECTED] Sent: Thursday, September 18, 2008 9:09 PM To: wix-users@lists.sourceforge

[WiX-users] Cannot use project references variables for Win32 project

2008-09-18 Thread Worawit Wangwarunyoo
Hi all, I am a new user to Wix. I am using Visual Studio 2005 for development. I just installed Wix-3.0.4318.0. When I tried to follow the help adding reference from .NET project, it works fine. Then I tried to add my real projects (using Win32) references. There is exclamation icon at new pr

Re: [WiX-users] Group creation

2008-09-18 Thread Bob Arnson
Lucas Theisen wrote: > Is there a way to specify in WIX that a group should be > created? Not currently supported. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [WiX-users] Wix 3.0.4429.0 and Suppressing Modularization on a directory

2008-09-18 Thread Bob Arnson
Bryan Turner wrote: > With Wix 2.0, I used this: > > > With Wix 3.0.4429.0, I see this warning: > > My.wxs(62) : warning CNDL1085 : The IgnoreModularization element has been > deprecated. Use the Binary/@SuppressModularization, > CustomAction/@SuppressModularization, or property/@SuppressModula

Re: [WiX-users] Info 1334. The file '' cannot be installed because the file cannot be found in cabinet file

2008-09-18 Thread Bob Arnson
Eric Gunnerson wrote: > I want to be able to add a new file to an existing component. You can't do that -- it violates component rules, the one that says that components are immutable. Add a new component and see http://blogs.msdn.com/heaths/archive/2008/02/18/adding-new-components-to-existing-

Re: [WiX-users] File not installed when it really is

2008-09-18 Thread Bob Arnson
Rob Hamflett wrote: > I'm trying to allow 4th digit upgrades, so I have scheduled > RemoveExistingProducts to before CostInitialize. I realise that this > has issues with rollback, and that although 3rd digit downgrades are > still caught by the Upgrade table, 4th digit downgrades aren't. This

Re: [WiX-users] Finish button on Exit dialog

2008-09-18 Thread Bob Arnson
Jason Ding wrote: > Here is my code. Currently I can launch my own application, but cannot > get the 2nd checkbox showing up. Seems like > WIXUI_EXITDIALOGOPTIONALCHECKBOX and > WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT are the required property value to > define the checkbox, i.e., they cannot be modif

Re: [WiX-users] Bitmaps and License file on custom UI's?

2008-09-18 Thread Bob Arnson
Kelly Leahy wrote: > I would prefer to use WixVariables in my source, and that's exactly what I > tried first. > > I think there's some reason the UI extension wasn't seeing them. Are > there some special rules about relative paths for these variables vs. the > .wxs or the 'working directory' o

Re: [WiX-users] service not being uninstalled

2008-09-18 Thread Chad Petersen
You could have the uninstall generate a verbose log and see what it says about this Component. Might give a hint. With some minor exceptions, overall your code looks much like what I use for dozens of services and they always uninstall correctly. -Original Message- From: [EMAIL PROTECTED]

[WiX-users] service not being uninstalled

2008-09-18 Thread EPoon
I've been going through the forums to see if I can find if this has been covered already but I can't seem to find one. The problem I'm having with my install is when I uninstall the program it leaves the service behind and the exe related to it in the install folder. I'm using the following WiX

[WiX-users] Wix 3.0.4429.0 and Suppressing Modularization on a directory

2008-09-18 Thread Bryan Turner
With Wix 2.0, I used this: With Wix 3.0.4429.0, I see this warning: My.wxs(62) : warning CNDL1085 : The IgnoreModularization element has been deprecated. Use the Binary/@SuppressModularization, CustomAction/@SuppressModularization, or property/@SuppressModularization attribute instead. It d

[WiX-users] Info 1334. The file '' cannot be installed because the file cannot be found in cabinet file

2008-09-18 Thread Eric Gunnerson
I am trying to test patch creation with WiX. I ran through the patch creation "Using Purely WiX" in wix.chm, and it worked fine. In that scenario, a single text file, Sample.txt is installed with the 1.0 installer. In the 1.1 patch, a modified version of Sample.txt replaces the old 1.0 version.

Re: [WiX-users] Question about LGHT0204:ICE43 and ICE57

2008-09-18 Thread Neil Enns
I'll leave the answer to that up to others more knowledgeable about those specific ICE errors. The steps listed in the How to document, however, are the recommended way of doing this. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Yen Sent:

Re: [WiX-users] Question about LGHT0204:ICE43 and ICE57

2008-09-18 Thread Roger Yen
Hello, Thanks for the reply, I guess I saw this solution before as I tried googling my problem a while ago. I don't really like the idea of installing irrelevant registry keys(in HKCU) unless it is really necessary, so if I leave my installer as it was without the HKCU registry, what might be th

Re: [WiX-users] Question about LGHT0204:ICE43 and ICE57

2008-09-18 Thread Neil Enns
Look in the Wix.CHM file for the How To topic on how to create shortcuts to applications. It shows you the steps to take to author the setup correctly to remove these errors. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Yen Sent: Thursday,

[WiX-users] Question about LGHT0204:ICE43 and ICE57

2008-09-18 Thread Roger Yen
Hello, I am getting these error messages when building my installer due to having a non-advertised shortcut: error LGHT0204 : ICE43: Component Exe has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. error LGHT0204 : ICE57: Component 'Exe' has

Re: [WiX-users] Running Custom Action Before InstallFiles

2008-09-18 Thread Vivek
Thanks again Chad for your response. I found a work around that problem. Now insted of doing every thing in one go. We will run msiexec command twice for the first time i will run it with the flag which will normally install every thing and than execute that batch file and clean up every thing in

[WiX-users] Group creation

2008-09-18 Thread Lucas Theisen
Hi, Is there a way to specify in WIX that a group should be created? I see that in the User element you can specify true for the CreateUser attribute and the user will be created. However the group element seems to not allow this as the reference says " Groups cannot be created by this element.

Re: [WiX-users] Finish button on Exit dialog

2008-09-18 Thread Jason Ding
Here is my code. Currently I can launch my own application, but cannot get the 2nd checkbox showing up. Seems like WIXUI_EXITDIALOGOPTIONALCHECKBOX and WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT are the required property value to define the checkbox, i.e., they cannot be modified, so I guess my problem i

Re: [WiX-users] WiX UI / Spawn dialog position

2008-09-18 Thread Richard
In article <[EMAIL PROTECTED]>, Andy2k8 <[EMAIL PROTECTED]> writes: > Is there any way i can control the way dialogs are positioned on the screen? Take a look at the HCentering and VCentering columns in the Dialog table. These are exposed as the X and Y attributes of the Dialog element in

Re: [WiX-users] Duplicate symbols when using SetDirectory and SetProperty

2008-09-18 Thread David Robinson
I added feature request 2118214 to deal with this limitation. Rob Mensching-2 wrote: > > That scenario is not supported by the "shortcut versions" of > SetProperty/SetDirectory. You can open a feature request but right now > the behavior is known and by design (limitation). > > -Original

[WiX-users] Finish button on Exit dialog

2008-09-18 Thread Jason Ding
Hello All, Can Finish button on the Exit dialog trigger more than one action, such as Install a 3rd party application and Launch my own application? My application can be launched on the Exit dialog after I added into a checkbox and a custom action, I am just following the same way to add in an

Re: [WiX-users] Custom action questoin

2008-09-18 Thread Jay H. Cho
Found out: Directory attribute would be irrelevant in this case. Hope this helps someone. On Tue, Sep 16, 2008 at 8:00 PM, Jay H. Cho <[EMAIL PROTECTED]> wrote: > > Hi > > Anyone know how to execute aspnet_regiis from wix? > > Thank you. >

Re: [WiX-users] HA: File not installed when it really is

2008-09-18 Thread Chad Petersen
I wonder if the period is messing it up. I've run into some problems when my File Id had a period in it. Can't remember the details, but something makes me ALWAYS remove periods from my File Ids these days. Might be worth a try to use mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Thu

Re: [WiX-users] Running Custom Action Before InstallFiles

2008-09-18 Thread Chad Petersen
Since there are various languages available to write such a Custom Action in I won't venture down that path myself, but I'd just say you can copy a file using a batch file, a VBS, a JS or C++ and likely others. The first set of Custom Actions calls whatever method chosen above to copy the file on b

Re: [WiX-users] Running Custom Action Before InstallFiles

2008-09-18 Thread Vivek
First of all thanks to everyone for being so helpful so far, Chad my special thanks to you. Chad may be i am asking you for a extra favour if copying a file from CustomAction is possible can you provide me an example i will be very thankful to you. Thanks, Vivek Chad Petersen wrote: > > Then,

Re: [WiX-users] HA: File not installed when it really is

2008-09-18 Thread Rob Hamflett
The Custom Action is called LaunchDBS. It's run from the ExitDialog if the relevant check box is checked. It's defined like so: And dbsview.exe is the file key refered to in a component like so: The line from ExitDialog that runs it is a child of the 'Finish' button control

[WiX-users] HA: File not installed when it really is

2008-09-18 Thread Denis Zavorotnyuk
Hi, Rob. Can you show your wxs-file in which you describe your custom actions? Btw, in your installation log-file there isn't a custom action which must launch your dbsview.exe after installation. С уважением, Заворотнюк Денис. > -Исходное сообщение- > От: [EMAIL PROTECTED] [mailto:wix-u

Re: [WiX-users] File not installed when it really is

2008-09-18 Thread Rob Hamflett
It appears my attachment has been stripped. I've uploaded it here: https://www.snsys.com/res/store/log.zip Thanks for any help, Rob Rob Hamflett wrote: > I've got an issue where the installer gives an error when I refer to an > ID for a file that wasn't installed, even though it actually is. >

[WiX-users] File not installed when it really is

2008-09-18 Thread Rob Hamflett
I've got an issue where the installer gives an error when I refer to an ID for a file that wasn't installed, even though it actually is. I have a file called dbsview.exe, and the file ID is the same. I'm trying to launch it at the end with a Custom Action using the file ID. When I do this I g

Re: [WiX-users] HA: HA: HA: Running Custom Action Before InstallFiles

2008-09-18 Thread Bhavdeep Singh
Hi Denis, thanks now i got , so adding Not Installed will make this action to trigger only If this feature i not installed, if this feature is already installed then it will not trigger. It makes sense now . thanks again Thanks and RegardsBOB > From: [EMAIL PROTECTED]> To: wix-users@lists.so

Re: [WiX-users] Remote Installtion

2008-09-18 Thread Phil Sayers
This may get you going in the right direction. http://www.microsoft.com/technet/scriptcenter/scripts/apps/user/usapvb02.msp x?mfr=true to install on a remote machine it's all about how you execute the msi file, there's not much you can do once the msi has started to be processed by the installer

[WiX-users] Drop SQL Server database during uninstall

2008-09-18 Thread Romeo Salayo Jr.
Hi, Our package creates a database during installation and we only want to drop the database during uninstall when the PROPERTIES DROPDB="1". What i did was i've created a component: And then i created another database for dropping the database:

[WiX-users] WiX UI / Spawn dialog position

2008-09-18 Thread Andy2k8
Is there any way i can control the way dialogs are positioned on the screen? - Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/WiX-UI---Spawn-dialog-position-tp1097922p1097922.html Sent from the wix-users mailing list archive at Nabble.co

[WiX-users] HA: HA: HA: Running Custom Action Before InstallFiles

2008-09-18 Thread Denis Zavorotnyuk
Hi, Bob. Adding "Not Installed" in the condition would make the difference, because "Installed" is the Installation Status Property, take a look at http://msdn.microsoft.com/en-us/library/aa369297(VS.85).aspx. Regards, Denis Zavorotnyuk. > -Исходное сообщение- > От: [EMAIL PROTECTED] [m

Re: [WiX-users] create setup.exe

2008-09-18 Thread Robert O'Brien
So it would seem that setting REINSTALL and REINSTALLMODE automatically within wix works for msp small update or minor upgrade processing but not an option, as suggested by others earlier, for msi minor upgrade processing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Re: [WiX-users] create setup.exe

2008-09-18 Thread Robert O'Brien
fyi - msi minor upgrade detection using QFEUpgrade=1 property setting condition is no longer working for me, i.e. qfeupgrade property no longer being generated during msi minor upgrade processing. Not yet sure what changes to my wix sources have broke that option or how I was testing to cause i