[WiX-users] Older package version not removed in some cases

2010-03-09 Thread nromao
I'm seeing a situation in which a major upgrade fails to uninstall the previous version. I have three package versions like this: Package A: Version 1.0.1, installs the VC++ redistributable merge module Package B: Version 1.5.0, does not install the VC++ redistributable merge module, same prod

[WiX-users] Preventing install if application is running

2010-03-09 Thread sd
I wish to add a feature to my installer which detects if a certain application is running, and then presents the user with a message asking them to quit all instances of the application or abort installation. I'm new to wix development, but I've searched on this subject and although I've seen a fe

Re: [WiX-users] Replace path text inside installed files.

2010-03-09 Thread dB .
You might want to check the Template wix extensions in http://msiext.codeplex.com. You can write something like [INSTALLLOCATION] in your file and it will get replaced on install. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Gary Smith [mailto:gary.sm...@

Re: [WiX-users] If certain version (or higher) of Java's JDK is installed, continue, else download & install latest JDK

2010-03-09 Thread dB .
This can be done with a bootstrapper. Try http://dotnetinstaller.codeplex.com. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Alec Taylor [mailto:alec.tayl...@gmail.com] Sent: Wednesday, March 03, 2010 6:09 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Tip: Version number updater

2010-03-09 Thread dB .
I recommend having a consistent versioning scheme for all types of code, including wix. We do major.minor.sourcecontrolrevision.0 and populate all necessary artifacts for C++, C#, Wix and other code using various techniques, primarily template files. http://code.dblock.org/ShowPost.aspx?id=19

[WiX-users] Question reagrding Wix Conditions

2010-03-09 Thread Gupta, Anshumali S (Anshu)
Hello, I am trying to add a condition for checking the version of the Microsoft management console assembly in the wix code. Here is the snippet: The version of the Microsoft.ManagementConsole.dll on the install system

Re: [WiX-users] SSRS deployment using Custom Actions - Error

2010-03-09 Thread Stryder Crown
You didn't specify here (or I missed it) exactly what the error is, but I'll take a shot: When you are publishing reports to an SSRS server, you need credentials specific to your SSRS server. If its on the network (or even the local machine) you need to be sure that the current user has permissio

Re: [WiX-users] migratefeaturestates

2010-03-09 Thread lewisv
Found it, the inclusion range was not correct. -- View this message in context: http://n2.nabble.com/migratefeaturestates-tp4695528p4705376.html Sent from the wix-users mailing list archive at Nabble.com. -- Download I

Re: [WiX-users] Shared windows service between multiple products

2010-03-09 Thread Wilson, Phil
This is an "it just works" situation if you use the same component guid and the ServiceInstall/Control elements and stay away from code-based installs like ServiceInstaller classes. You could put the service in a merge module or WiX object/fragment thingy and share it between products. Phil Wi

Re: [WiX-users] SSRS deployment using Custom Actions - Error

2010-03-09 Thread Sachin Dubey
Agree here, however my need is to run the CA with current logged-in user's elevated credentials. and none of the option provided (Installing user without elevation and Local System) are working for me. Do we have any way for elevating installing user's credentials. > From: os...@live.co

Re: [WiX-users] Reinstall not updating correct registry value.

2010-03-09 Thread Sachin Dubey
Hi Bob, This makes sense, however I am not retrieving values set during the install time. During the change only the properties set in UI sequence are not getting forwarded to Install sequence. and this happens only on machines with UAC enabled and logged in user is non build-in Admin. In o

[WiX-users] WiX Question : Do I need to define $ProjectDir in the .wixproj file in order for the bootstrapper to work properly?

2010-03-09 Thread Karen Lin
I am a bit new to WiX and I am working on a client installation program. So I want to install .Net 3.5 SP1 using a boot strap, and this is what I have in the .wixproj file .NET Framework 3.5 SP1 Windows Installer 3.1 Now

[WiX-users] Unable to run 64-bit custom action using CA Quite exec

2010-03-09 Thread Sujith Tummala (Infosys Technologies Ltd)
Hi, I am trying to run a 64-bit custom action using CA quite exec, but it ends up running in 32-bit mode. And the pain part is that it is disbaling the system level Perf counters due to which I am not able to run my application properly. Example:- The above doesn't run in 64-bit, thus caus

[WiX-users] sql express

2010-03-09 Thread Shabbir Ahsan
Hi, I have added the bootstrapper tags to the wixproj file to check for and install SP3, installer 3.1 and Sql Express 2005. The problem is when I try the installer on a 64bit machine, I get an error as SQL express is only the 32bit version. Can I place a check in the bootstrapper to d

[WiX-users] Component GUID rules

2010-03-09 Thread Oleksandr Y. Nechyporenko
I have additional question. As I've specified in one of my previous posts, we have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time but in __different folders__. There is a set of files that should be included to both install

Re: [WiX-users] duplicate file-names; depending on conditions

2010-03-09 Thread Johann Taferl, T-AU
Thanks. I moved the conditions into the components and now have one merge module for the driver. That works. Thanks again, Johann _ FN: 53380 a; Landesgericht Salzburg; DVR-Nr: 0684317 Please consider the environment before printing th

[WiX-users] Install additional components depending on selected languages

2010-03-09 Thread Oleksandr Y. Nechyporenko
We have multilanguage version of our product. Depended files for each of languages are included to separate components. I.e. we have for example (contains Component 1) (contains Component 2) Are there easy way to select language(s) at first step of installation and automat

Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-09 Thread Bob Arnson
On 3/9/2010 12:10 AM, puyo puy wrote: > mean I cannot use bootstrapper. I’m think of creating msm for each product > and > assign a feature for each msm. There's no need for merge modules; use a ComponentGroup instead. -- sig://boB http://joyofsetup.com/

[WiX-users] Shared windows service between multiple products

2010-03-09 Thread Oleksandr Y. Nechyporenko
We have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time. I.e. they have different product and upgrade code GUIDs. But each of these versions contains same windows service. This service should be installed only once and shoul

Re: [WiX-users] Combobox Display Question/Problem

2010-03-09 Thread Kevin Garman
Hi, Does no one else have to issue? The obvious workaround is to use the text for the 'Text' and 'Value' attributes but this certainly isn't optimal nor does it seem to be how it was intended to work. Thanks, Kevin On Mon, 2010-03-08 at 12:27 -0600, Kevin Garman wrote: > bump > > > > On T

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread Michael Urman
These sound like odd requirements to me. But that said, I'd use the action states of the components to figure this out. If you want to consider it from the first-installed product perspective, it will have to poke in and know at least one of the merge module's components (or perhaps create a config

[WiX-users] Passing data to uninstaller or detecting how it was invoked

2010-03-09 Thread Tom Crozier
I have 2 applications (App1 and App2). When I do a major upgrade of App1 I need to uninstall App2 (which I can accomplish by adding an upgrade element for App2). But I need to do something different in the uninstall sequence of App2 if it was invoked by the major upgrade of App1 as opposed to be

Re: [WiX-users] Re [WIX-users] conditions

2010-03-09 Thread Shabbir Ahsan
Hi Igor, thanks. Moving the condition out of component and just under package sorted it!! _ Got a cool Hotmail story? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/

Re: [WiX-users] Conditional FeatureTree Features

2010-03-09 Thread Bob Arnson
On 3/8/2010 9:11 AM, Arun Perregatturv wrote: > For COMServer - Only FeatureF should be selected and displayed(cannot uncheck > this feature for this type of install) and rest is displayed but unchecked. > Is this possible? > The selection tree control doesn't support that. > Do have I have

Re: [WiX-users] duplicate file-names; depending on conditions

2010-03-09 Thread Bob Arnson
On 3/8/2010 12:10 PM, Johann Taferl, T-AU wrote: > I have to install some driver to a given folder. For Win Vista, they > have to- and for all previous Win-versions, they must not be signed. To > solve this problem I thought of two separate merge-modules. To install > the correct one, I use conditi

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
you can combine both workarounds given by me before...guess it will resolve ur problem in ur scenario On Tue, Mar 9, 2010 at 4:06 PM, akash bhatia <911ak...@gmail.com> wrote: > if you have different install directories for all then may be u can check > for the files existed before uninstalli

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
if you have different install directories for all then may be u can check for the files existed before uninstalling. On Tue, Mar 9, 2010 at 3:15 PM, Lisa Gracias wrote: > Thanks for that idea. It's much simpler than my approach. > There's an additional condition: The warning should be displayed o

Re: [WiX-users] conditions

2010-03-09 Thread Igor Paniushkin
Hi, You are trying to create Launch Condition and refer to Wix documentation to create Launch Condition you Condition element should be child node under Product or Fragment element, so you simply need to remove Component above your Condition. Igor -Original Message- From: Shabbir Ahsan [

[WiX-users] conditions

2010-03-09 Thread Shabbir Ahsan
Hi, I am tyring to use a condition to check if a pre-requisite application is installed. The way I am doing it is to set a property with a registry search. I am checking this preperty in a condition, nd want the installation to stop if the registry is not found, and display a message to t

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread Lisa Gracias
Thanks for that idea. It's much simpler than my approach. There's an additional condition: The warning should be displayed only if the product being removed is the one that first installed the merge module, because only then will it have the shared components in its folders. How do I find out which

Re: [WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread akash bhatia
Lisa, Best way is that u can write a custom action at uninstall which checks whether other two products r installed or not... set a property for tht if it found other products then it means tht shared files wont get deleted from target machine. and u can populate messagebox accordingly (as per th

Re: [WiX-users] disk cost dialog

2010-03-09 Thread Lisa Gracias
Thank you, this was what was causing the problem. I set ROOTDRIVE and now it works perfectly. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine

[WiX-users] display warning if shared components not removed on uninstall

2010-03-09 Thread Lisa Gracias
I have 3 msi's which contain the same merge module. Apart from containing components common to all 3 products, the merge module also writes an entry to the HKLM registry hive. The first product to be installed, say Product A, will put the shared components in its own folders, and the other two pr

Re: [WiX-users] "This will store the source file separately in the final installation package"

2010-03-09 Thread Kristoffer Danielsson
Thanks for you reply. That makes sense. So basically you're saying that the icon of MSI shortcuts are retrieved from another source than the exe files - even if you make the MSI using VC++? You don't happen to know where these icons are stored? I don't want to add my "orphan" icons to t