The original install is InstallScript based (and was called out as such in the 
original email).

The search:

        <!-- Is Rainbow 3 server installed? -->
        <Property Id='RB3SERVER' Value='N'>
              <DirectorySearch Id='RBServerDirectory' Path='c:\Program 
Files\Rainbow'>
                    <FileSearch Id='RBServicesExe' Name='rbfta.exe' />
              </DirectorySearch>
        </Property>

does find the file rbfta.exe, but the feature never gets installed.

________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Wilson, Phil [EMAIL 
PROTECTED]
Sent: 13 August 2008 22:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install of feature

What about whether the very old InstallShield is an MSI-based install or not?  
If it's MSI based you're doing an upgrade in an unsupported manner, one MSI 
install with some set of product and component guids directly on top of another.

If you do the install taking a MSI log it will say something about what's being 
installed (or not) and whether your search is finding anything.

Phil Wilson



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Eldridge
Sent: Tuesday, August 12, 2008 6:02 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install of feature

Ok, all valid points and need to be looked at. But, what about my original 
question?

________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Wilson, Phil [EMAIL 
PROTECTED]
Sent: 12 August 2008 18:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install of feature

That sounds a bit odd if I understand correctly. There's already an installed 
product and you're installing on top of it, but it's apparently not an upgrade. 
Don't you end up with two entries in Add/Remove Programs and the possibility 
that uninstalling the older one will remove your files?

Old InstallShield still might be MSI-based, if so you just need the installed 
product's UpgradeCode and version to do a major upgrade. If you don't know them 
the cached MSI in Windows\installer can be opened with Orca to get the values.

If old InstallShield means non-MSI it's usual to either ask the user to 
uninstall it first (you can detect its presence with a registry search) and I 
think there have been recent posts here that deal with automatically 
uninstalling by locating the uninstallstring in the registry and running it.

Phil Wilson


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Eldridge
Sent: Tuesday, August 12, 2008 12:14 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install of feature

Hi Phil,

Neither. Because the original install was a done in a very old version of 
InstallShield, I'm just using <File> elements and letting the Installer Server 
just do a straight copy over the existing files. ProductCode and UpgradeCode 
are in effect, brand new.



Thanks,
Jeff

________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Wilson, Phil [EMAIL 
PROTECTED]
Sent: 11 August 2008 17:43
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install of feature

What kind of upgrade are we looking at here? A major upgrade with ProductCode 
changes and Upgrade table entries? Or is the ProductCode the same as the 
original product?

Phil Wilson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Eldridge
Sent: Monday, August 11, 2008 6:36 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Conditional install of feature

Hi All,

I have a Wix2 setup that is designed to "upgrade" a product installation to a 
known level. The original installation was InstallShield/InstallScript based.

The product is essentially made up of a Client component and a Server 
component. The install has a couple of FileSearch-es to set properties:

        <!-- Is Rainbow 3 client installed? -->
        <Property Id='RB3CLIENT' Value='N'>
            <DirectorySearch Id='RBClientDirectory' Path='c:\Program 
Files\Rainbow'>
                  <FileSearch Id='RainbowExe' Name='rainbow.exe' />
            </DirectorySearch>
        </Property>

        <!-- Is Rainbow 3 server installed? -->
        <Property Id='RB3SERVER' Value='N'>
              <DirectorySearch Id='RBServerDirectory' Path='c:\Program 
Files\Rainbow'>
                    <FileSearch Id='RBServicesExe' Name='rbfta.exe' />
              </DirectorySearch>
        </Property>

The RB3CLIENT and RB3SERVER properties are then used in Conditions on Features:

      <Feature Id="Client" Title="Rainbow Client" Level="0">

            <Condition Level="1"><![CDATA[RB3CLIENT <> "N"]]></Condition>

            <ComponentRef Id="RainbowClientComponent" />
            <ComponentRef Id="RainbowSharedComponent" />
            <ComponentRef Id="RainbowHelpComponent" />
            <ComponentRef Id="VC80ATLComponent" />
            <ComponentRef Id="VC80CRTComponent" />
            <ComponentRef Id="VC80MFCComponent" />

      </Feature>

      <Feature Id="Server" Title="Rainbow Server" Level="0">

            <Condition Level="1"><![CDATA[[RB3SERVER <> "N"]]></Condition>

            <ComponentRef Id="RainbowServerComponent" />
            <ComponentRef Id="RainbowSharedComponent" />
            <ComponentRef Id="RainbowHelpComponent" />
            <ComponentRef Id="StoreProviderComponent" />
            <ComponentRef Id="VC80ATLComponent" />
            <ComponentRef Id="VC80CRTComponent" />
            <ComponentRef Id="VC80MFCComponent" />

      </Feature>

My problem is that the Server component is never installed. Client seems to 
work ok (it installs and uninstalls fine). There is no UI option for the user 
to choose Features; it is worked out soley on the result of FileSearch-es.

Any ideas?

Thanks,
Jeff


________________________________
About Microsoft Ireland: www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in 
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland 
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

About Microsoft Ireland:  www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in 
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland 
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

About Microsoft Ireland:  www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in 
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland 
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

About Microsoft Ireland:  www.microsoft.com/ireland
Microsoft Ireland Operations Limited. A company incorporated and registered in 
Ireland number 256796.
Microsoft Ireland Research. A company incorporated and registered in Ireland 
number 342235.
Registered office 70 Sir John Rogerson's Quay, Dublin 2, Ireland

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to