Re: [WiX-users] Unable to force upgrade

2008-03-04 Thread si
Hi Ryan, > I did not change the ProductId I think you need to change this, otherwise the 'another version of this product is already installed' error will be generated unless you run the msiexec with the parameters required for minor upgrades - as shown in the tutorial you linked to. In WiX 3, i

Re: [WiX-users] Windows Service not removed on Uninstall

2008-03-04 Thread faheemitian
Bob, Bob Arnson-6 wrote: > > > Check a verbose log: > > * Around InstallValidate to see what the "Action:" value is for the > service component. > * All instances of the StopServices and DeleteServices action, to > see what it did for the service. > I have checked the lo

Re: [WiX-users] Unable to force upgrade

2008-03-04 Thread Bob Arnson
Ryan O'Neill wrote: Yes, RemoveExistingProducts is scheduled after InstallFinalize It's easier to start by scheduling RemoveExistingProducts after InstallInitialize so you get a full uninstall first. Then you can optimize once it's working. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Why VS2005 with Votive failed to compile new Wix project?

2008-03-04 Thread Bob Arnson
Xu nanxuan wrote: > "Error4The localization variable !(loc.WixUINext) is unknown. Please > ensure the variable is > defined.C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeDlg.wxs91WixProject3 > ..WelcomeDlg.wxs". You need to specify Cultures (e.g., of en-us for US English). -- sig://b

Re: [WiX-users] Ordering features in the custom setup dialog

2008-03-04 Thread Bob Arnson
Flavio Stanchina wrote: > I couldn't find an answer in the documentation nor in the mailing list > archive (that's probably because I couldn't come up with good search > terms) so I'm asking: is there a way to set the order of features in the > custom setup dialog? > MSI doesn't have a way o

Re: [WiX-users] wix bitness

2008-03-04 Thread Bob Arnson
zhisheng huang wrote: Do wix binaries have64-bit version? Like wixca.dll, etc? For both Wix 2.0 and Wix 3.0. No. There are plans to create 64-bit versions of particular custom actions but others will stay 32-bit with code to disable file system redirection. -- sig://boB http://joyofsetup.co

Re: [WiX-users] Vista registry virtualization

2008-03-04 Thread Bob Arnson
Simon Topley wrote: > I suspect that I am registering the interfaces incorrectly. I'm adding > all of the details manually (CLSID, TYPELIB blah blah blah) maybe there > is a COM registration component I'm not aware of that would take care of > this. Are you using Registry/RegistryKey/RegistryValu

Re: [WiX-users] ConfigureIIS and IIS7

2008-03-04 Thread Bob Arnson
[EMAIL PROTECTED] wrote: Thanks bob, Well, the API for IIS7 is here: http://msdn2.microsoft.com/en-us/library/aa965217.aspx I can imagine that there are others, besides, myself that would like to see native support of it. I may start working on a " ConfigureIIS" myself , or do

Re: [WiX-users] Windows Service not removed on Uninstall

2008-03-04 Thread Bob Arnson
faheemitian wrote: But on uninstall nothing happens. Neither service is stopped nor uninstalled, everything just happens to be there. Check a verbose log: * Around InstallValidate to see what the "Action:" value is for the service component. * All instances of the StopServices an

Re: [WiX-users] How do I log with the setup.exe bootstrapper?

2008-03-04 Thread Bob Arnson
dB. wrote: How do I get my setup.exe to create a log at installation? The current version does by default, by changing the .msi name to have a .log extension and creating the log in the TEMP directory. -- sig://boB http://joyofsetup.com/ ---

[WiX-users] Questions about the msi Administration issues

2008-03-04 Thread Xu nanxuan
I can install a file in some folders on target machine, but failed to other folders. I know different folds have different access levels. But how can i have my .msi have the most advantage access level so that i can install file to any target folder? Thanks!

Re: [WiX-users] Signal a win32 event?

2008-03-04 Thread Richard
In article <[EMAIL PROTECTED]>, "jeff davis" <[EMAIL PROTECTED]> writes: > I can create a custom action that calls an export from the dll I install, > and the exported function signals the event. However, I would also like to > signal an event if the installation fails. Is there a way I ca

[WiX-users] Signal a win32 event?

2008-03-04 Thread jeff davis
How would I go about signalling a win32 named event during the install. I can create a custom action that calls an export from the dll I install, and the exported function signals the event. However, I would also like to signal an event if the installation fails. Is there a way I can do it witho

Re: [WiX-users] Unable to force upgrade

2008-03-04 Thread Ryan O'Neill
Guess that wasn't it. I'll start with a small version tomorrow and see if I can get it working on a tiny project first. As a beginners guess it might be something to do with the uninstallation UI that has been authored. Thanks From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A

Re: [WiX-users] Unable to force upgrade

2008-03-04 Thread Ryan O'Neill
Still new to this, thanks for pointing that out. I did not change the ProductId or the Package version. The package id is autogenerated, so yes that changed. Product language and package language are set the same. Yes, RemoveExistingProducts is scheduled after InstallFinalize Yes, there is a cu

Re: [WiX-users] Path to candle.exe is invalid

2008-03-04 Thread Chris Marks
It looks like I have 3.0.2925.0 installed. The registry looked correct, but I found the problem in the .wixproj file. Thanks for the help! topher On Mon, Mar 3, 2008 at 10:43 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Chris Marks wrote: > > My co-worker created a WiX script using WiX 3 and Voti

Re: [WiX-users] Unable to force upgrade

2008-03-04 Thread Alexander Shevchuk
Ryan, You did not show all the relevant to major upgrade code: - Did you change the Product/@Id, Package/@Id, and Product/@Version? - Do you have Product/@Language listed in or equal to Package/@Languages? - Do you schedule a RemoveExistingProducts action in the Ins

[WiX-users] wix bitness

2008-03-04 Thread zhisheng huang
Hi, Do wix binaries have64-bit version? Like wixca.dll, etc? For both Wix 2.0 and Wix 3.0. Thanks, Zhisheng _ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_01

[WiX-users] Ordering features in the custom setup dialog

2008-03-04 Thread Flavio Stanchina
Hello, this is my first post here. I'm new to WiX but I've been using InstallShield for quite a while. I'm migrating a rather large InstallShield project to WiX: I've converted the .msi with dark and I'm now tweaking the dozens of XML files. Things are going smoothly so far, but I couldn't figu

Re: [WiX-users] How to use RemoveFile and CopyFile?

2008-03-04 Thread Rob Hamflett
That's kind of tricky. I'd have to question your setup in this case. I think there's a property to give you the name of the drive the product is being installed on. It'll be in here somewhere: http://msdn2.microsoft.com/en-us/library/aa370905.aspx You could use a custom action to create the s

Re: [WiX-users] Problem Reading Registry

2008-03-04 Thread Mooney, Stephen
Hi, Read a registry value and assign to a property like so Then you will start your directory structure like so Note DirectoryID is the same as the property id. Regards Stephen > -Original Message- > From: [EMAIL PROTECTED] [mailto:wix-users- > [

[WiX-users] Unable to force upgrade

2008-03-04 Thread Ryan O'Neill
In my attempts to force an application to uninstall completely before being reinstalled (major upgrade) I have followed the instructions here (http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another version of this product is already installed'. I've kind of inherited this installe

Re: [WiX-users] Question about custom action-Different behaviors in different OS?

2008-03-04 Thread Boris Krivonog
Glad to help. Xu nanxuan wrote: > Yes, that's it! It's really an unwizdom for me to ignore such factor! > Thanks again > > > Date: Tue, 4 Mar 2008 15:36:59 +0100 > > To: wix-users@lists.sourceforge.net > > From: [EMAIL PROTECTED] > > Subject: Re: [WiX-users] Question about custom action-Diff

Re: [WiX-users] ConfigureIIS and IIS7

2008-03-04 Thread Robert.Priest
Thanks bob, Well, the API for IIS7 is here: http://msdn2.microsoft.com/en-us/library/aa965217.aspx I can imagine that there are others, besides, myself that would like to see native support of it. I may start working on a " ConfigureIIS" myself , or do you think using XmlConfig woul

Re: [WiX-users] Question about custom action-Different behaviors in different OS?

2008-03-04 Thread Boris Krivonog
Maybe a thing to consider: is your dll statically linked? If not, maybe this is the problem. If you are trying to run a library, which is not statically linked and the target computer doesn't have the c++/c runtime installed, dll won't work. Check this within VS 2005 under Project|Properties|Config

Re: [WiX-users] Problem Reading Registry

2008-03-04 Thread Boris Krivonog
Please refer to http://www.tramontana.co.hu/wix/lesson1.php, under "1.5 Where to Install?". It contains a really simple and exhaustive explanation about this issue. Hope this helps, Boris Riyaz Mogharabin wrote: > Hi everybody, > > I have to read a registry value from a specific key ( lets s

[WiX-users] Problem Reading Registry

2008-03-04 Thread Riyaz Mogharabin
Hi everybody, I have to read a registry value from a specific key ( lets say HKLM\Software\Company\ ) and this value contains the path to the location where we need to install the software (so the format of the value will be something like "C:\Company\HomeDir\" ). How can I get this value by us

[WiX-users] Question about custom action-Different behaviors in different OS?

2008-03-04 Thread Xu nanxuan
In my custom Wix, I have a custom action aiming at a dllentry (the dll is written in C++ in VS 2005). All of this works fine on my vista 64bit; but when I move the msi file to longhorn 64bit, it doesn't work correctly (the result is premature setup, and i can still find it in control panel). I

Re: [WiX-users] How to use RemoveFile and CopyFile?

2008-03-04 Thread Xu nanxuan
Thanks, But i've no idea how to do that. I want srcFile1 to be installed at D:\Dir1, and srcFile2 to be installed at D:\Dir2 to the target machine. But there's only one TARGETDIR aiming at C:\. So how to do that? I mean i don't know the Wix grammer of that.Ballack Michel> To: wix-users@lists.so

[WiX-users] How do I log with the setup.exe bootstrapper?

2008-03-04 Thread dB.
I've searched this for a while J How do I get my setup.exe to create a log at installation? I am using the boostrapper in wix3 directory with setupbld.exe -out MySetup.exe -setup ..\..\tools\wix\setup.exe -mcsu MySetup.msi Thx dB. PS: would be a good idea that setup.exe /? Produces

Re: [WiX-users] Custom action sequencing problem

2008-03-04 Thread Anidil
Ok now that's pretty clear..and of course this post contain highly useful information for any installer developer and appreciate for that. Boris Krivonog wrote: > > The KillMeSoftly library contains fairly simple code. It contains an > entry point, named "KillMeSoftly", which, when called, rea

Re: [WiX-users] How to use RemoveFile and CopyFile?

2008-03-04 Thread Rob Hamflett
Instead of installing a file you don't want, copying it to where you do want it, and then removing the original, why don't you just install the file to where you want it in the first place? Rob Xu nanxuan wrote: > 1 > 2 > > 3 DestinationProperty="T1"/> > 4 > > 5 > > Question 1: > >

[WiX-users] How to use RemoveFile and CopyFile?

2008-03-04 Thread Xu nanxuan
1 3 4 5 Question 1: Is it possible to just CopyFile without installing file? I mean can i remove Line 2? I've tried the following, but it fails Question 2: I use RemoveFile because n1.txt in Line 1 is useless to my customization. But Line 4 didn't work. I mean n1.txt is still th

Re: [WiX-users] how to retrieve the value from a "Edit"

2008-03-04 Thread Boris Krivonog
Maybe this answer will come to you a bit too late, but nevertheless... The http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg15719.html post contains a simple VS 2005 project (***KillMeSoftly.zipx

Re: [WiX-users] Custom action sequencing problem

2008-03-04 Thread Boris Krivonog
The KillMeSoftly library contains fairly simple code. It contains an entry point, named "KillMeSoftly", which, when called, reads the value of MSI property "CustomActionData". The value of "CustomActionProperty" contains the name of the process to kill. The "CustomActionProperty"property is set

[WiX-users] Windows Service not removed on Uninstall

2008-03-04 Thread faheemitian
Hi, We are having a problem with wix 3.0.2925.0 version. We have a windows service and that service module is also a DCOM server stub. When we install the service every thing works fine. If service is already running, it is stopped by the installer and newer service is installed instead and it i

[WiX-users] Vista registry virtualization

2008-03-04 Thread Simon Topley
Hello all, We have recently been having issues with our COM interface and the finger was pointed at the installers as ever. It seems in vista being logged in as an Administrator doesn't mean what it once did. Most programs are run by default as a user, you have to right click and "run as administr

Re: [WiX-users] Custom action sequencing problem

2008-03-04 Thread Anidil
Hi Boris.. I am going through the KillMeSoftly code and trying to create a similar wrapper custom action for another DLL to make it MSI compatible.Do you have any pointers or links which would help me understand how the code works? thanks Praveen Boris Krivonog wrote: > > Attached is a simple

Re: [WiX-users] Forums

2008-03-04 Thread Ryan O'Neill
I use Nabble too, but only because Google finds it and SourceForge falls over every time I try to do a search. This is the main issue I have with WiX, where to find decent samples and check if a question has already been asked. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John

Re: [WiX-users] Forums

2008-03-04 Thread John Hall
Also, aren't there other "forum-like" venues already out there for WiX? I know there are a couple of Wiki sites and also sites that aggregate these emails. What additional value will a forum serve? (I'm not opposed to it, I'm just asking for more clarification). What about Nabble: http://www.na

Re: [WiX-users] how to retrieve the value from a "Edit"

2008-03-04 Thread Xu nanxuan
I think I've got it. Thanks! Xu nanxuan wrote: I want to retrieve the value from an "Edit" Control Type, and then pass the retrieved string to a custom dll as a parameter to a function of that dll. How can i do that? Thanks!Controls set property values. You can't pass properties to custom