Re: [WiX-users] How to check the prerequisite software install?

2009-09-02 Thread Jiang, Chunyan (GE Healthcare)
Hi Sebastian,

Thank you for your reply. I tried the method as you suggested. The following is 
my code:

  Property Id=SYBASE_MAJORVERSION
RegistrySearch Id=RegSearch_Sybase_MajorVersion 
Key=SOFTWARE\Sybase\SQL Anywhere\10.0 Root=HKLM Type=raw /
  /Property

Condition Message=MyApp requires Sybase 10.0. Please make sure it is 
installed.SYBASE_MAJORVERSION/Condition

However, when I install my msi, it always pops uo the warning message, saying 
MyApp requires Sybase 10.0. Please make sure it is installed. I checked the 
registration. And the key SOFTWARE\Sybase\SQL Anywhere\10.0 does exist. I 
compared it with your example Adobe. Under Software\Adobe\Acrobat 
Reader\9.0\InstallPath, there is key value:
(standard)  REG_SZ  C:\Program\Adobe\Reader

But under SOFTWARE\Sybase\SQL Anywhere\10.0, the key value is:

(standard)  REG_SZ  (No value)
Folder  REG_SZ  SQL Anywhere 10
JRE Version REG_SZ  5.0.100.3
LanguageREG_SZ  DE
LocationREG_SZ  C:\Program Files\SQL Anywhere 10
Online Resources REG_SZC:\Program Files\SQL Anywhere 
10\support\ianywhere.html
Samples Location REG_SZD:\Documents and Settings\All 
Users\Documents\SQL Anywhere 10\Samples
Shared Location  REG_SZC:\Program Files\SQL Anywhere 10


Is there something wrong in my Property? How can I change it?


Best regards,


Chunyan




-Ursprüngliche Nachricht-
Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] 
Gesendet: Dienstag, 1. September 2009 16:07
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] How to check the prerequisite software install?

Hi,

Add a Condition right under Product. The message in the @Message attribute 
will be shown whenever the condition is false, and setup is aborted. 
The condition should contain a Property that gets initialized with 
RegistrySearch or FileSearch to find a registry value or file from the 
other software to identify if it is installed.

Example:

Product
   Property Id=ADOBEREADER9INSTALLED
  RegistrySearch Id=ADOBEREADER9INSTALLED_REGSEARCH
Key=Software\Adobe\Acrobat Reader\9.0\InstallPath Root=HKLM Type=raw
/
/Property
Condition Message=[ProductName] requires Adobe Reader 9.0 Please make 
sure you it installed.ADOBEREADER9INSTALLED/Condition
  ...
/Product


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: Tuesday, September 01, 2009 14:46
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to check the prerequisite software install?

Hi Wix-users,
 
My software needs another software (Sybase) as the prerequisite.
Therefore I need to check whether Sybase has been installed in the machine and 
show the warning message if it is not installed. How can I define the condition 
in the installer?
 
Best regards,
 
 
Chunyan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with Crystal 
Reports now.  http://p.sf.net/sfu/bobj-july 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with Crystal 
Reports now.  http://p.sf.net/sfu/bobj-july 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to check the prerequisite software install?

2009-09-02 Thread Blair
One option would be to try:

  Property Id=SYBASE_10INSTALLATION
RegistrySearch Id=RegSearch_Sybase_MajorVersion Name=Location
Key=SOFTWARE\Sybase\SQL Anywhere\10.0 Root=HKLM Type=raw /
  /Property

Condition Message=MyApp requires Sybase 10.0. Please make sure it is
installed.SYBASE_10INSTALLATION/Condition

But, I have another question. Is this on a 64-bit OS with a 32-bit MSI?

-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] 
Sent: Wednesday, September 02, 2009 6:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to check the prerequisite software install?

Hi Sebastian,

Thank you for your reply. I tried the method as you suggested. The following
is my code:

  Property Id=SYBASE_MAJORVERSION
RegistrySearch Id=RegSearch_Sybase_MajorVersion
Key=SOFTWARE\Sybase\SQL Anywhere\10.0 Root=HKLM Type=raw /
  /Property

Condition Message=MyApp requires Sybase 10.0. Please make sure it is
installed.SYBASE_MAJORVERSION/Condition

However, when I install my msi, it always pops uo the warning message,
saying MyApp requires Sybase 10.0. Please make sure it is installed. I
checked the registration. And the key SOFTWARE\Sybase\SQL Anywhere\10.0
does exist. I compared it with your example Adobe. Under
Software\Adobe\Acrobat Reader\9.0\InstallPath, there is key value:
(standard)  REG_SZ  C:\Program\Adobe\Reader

But under SOFTWARE\Sybase\SQL Anywhere\10.0, the key value is:

(standard)  REG_SZ  (No value)
Folder  REG_SZ  SQL Anywhere 10
JRE Version REG_SZ  5.0.100.3
LanguageREG_SZ  DE
LocationREG_SZ  C:\Program Files\SQL Anywhere 10
Online Resources REG_SZC:\Program Files\SQL Anywhere
10\support\ianywhere.html
Samples Location REG_SZD:\Documents and Settings\All
Users\Documents\SQL Anywhere 10\Samples
Shared Location  REG_SZC:\Program Files\SQL Anywhere 10


Is there something wrong in my Property? How can I change it?


Best regards,


Chunyan




-Ursprüngliche Nachricht-
Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] 
Gesendet: Dienstag, 1. September 2009 16:07
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] How to check the prerequisite software install?

Hi,

Add a Condition right under Product. The message in the @Message
attribute will be shown whenever the condition is false, and setup is
aborted. 
The condition should contain a Property that gets initialized with
RegistrySearch or FileSearch to find a registry value or file from the
other software to identify if it is installed.

Example:

Product
   Property Id=ADOBEREADER9INSTALLED
  RegistrySearch Id=ADOBEREADER9INSTALLED_REGSEARCH
Key=Software\Adobe\Acrobat Reader\9.0\InstallPath Root=HKLM Type=raw
/
/Property
Condition Message=[ProductName] requires Adobe Reader 9.0 Please make
sure you it installed.ADOBEREADER9INSTALLED/Condition
  ...
/Product


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: Tuesday, September 01, 2009 14:46
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to check the prerequisite software install?

Hi Wix-users,
 
My software needs another software (Sybase) as the prerequisite.
Therefore I need to check whether Sybase has been installed in the machine
and show the warning message if it is not installed. How can I define the
condition in the installer?
 
Best regards,
 
 
Chunyan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment

Re: [WiX-users] How to check the prerequisite software install?

2009-09-02 Thread Jiang, Chunyan (GE Healthcare)
Thanks Blair!

I tried your method that adding Name attribute to Property. And it works!

My OS is Windows XP Professional. I don't know if it is 64-bit or not. What is 
32-bit MSI?


Regards,

Chunyan 

-Ursprüngliche Nachricht-
Von: Blair [mailto:os...@live.com] 
Gesendet: Mittwoch, 2. September 2009 16:51
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] How to check the prerequisite software install?

One option would be to try:

  Property Id=SYBASE_10INSTALLATION
RegistrySearch Id=RegSearch_Sybase_MajorVersion Name=Location
Key=SOFTWARE\Sybase\SQL Anywhere\10.0 Root=HKLM Type=raw /
  /Property

Condition Message=MyApp requires Sybase 10.0. Please make sure it is 
installed.SYBASE_10INSTALLATION/Condition

But, I have another question. Is this on a 64-bit OS with a 32-bit MSI?

-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: Wednesday, September 02, 2009 6:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to check the prerequisite software install?

Hi Sebastian,

Thank you for your reply. I tried the method as you suggested. The following is 
my code:

  Property Id=SYBASE_MAJORVERSION
RegistrySearch Id=RegSearch_Sybase_MajorVersion
Key=SOFTWARE\Sybase\SQL Anywhere\10.0 Root=HKLM Type=raw /
  /Property

Condition Message=MyApp requires Sybase 10.0. Please make sure it is 
installed.SYBASE_MAJORVERSION/Condition

However, when I install my msi, it always pops uo the warning message, saying 
MyApp requires Sybase 10.0. Please make sure it is installed. I checked the 
registration. And the key SOFTWARE\Sybase\SQL Anywhere\10.0
does exist. I compared it with your example Adobe. Under 
Software\Adobe\Acrobat Reader\9.0\InstallPath, there is key value:
(standard)  REG_SZ  C:\Program\Adobe\Reader

But under SOFTWARE\Sybase\SQL Anywhere\10.0, the key value is:

(standard)  REG_SZ  (No value)
Folder  REG_SZ  SQL Anywhere 10
JRE Version REG_SZ  5.0.100.3
LanguageREG_SZ  DE
LocationREG_SZ  C:\Program Files\SQL Anywhere 10
Online Resources REG_SZC:\Program Files\SQL Anywhere
10\support\ianywhere.html
Samples Location REG_SZD:\Documents and Settings\All
Users\Documents\SQL Anywhere 10\Samples
Shared Location  REG_SZC:\Program Files\SQL Anywhere 10


Is there something wrong in my Property? How can I change it?


Best regards,


Chunyan




-Ursprüngliche Nachricht-
Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com]
Gesendet: Dienstag, 1. September 2009 16:07
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] How to check the prerequisite software install?

Hi,

Add a Condition right under Product. The message in the @Message attribute 
will be shown whenever the condition is false, and setup is aborted. 
The condition should contain a Property that gets initialized with 
RegistrySearch or FileSearch to find a registry value or file from the 
other software to identify if it is installed.

Example:

Product
   Property Id=ADOBEREADER9INSTALLED
  RegistrySearch Id=ADOBEREADER9INSTALLED_REGSEARCH
Key=Software\Adobe\Acrobat Reader\9.0\InstallPath Root=HKLM Type=raw
/
/Property
Condition Message=[ProductName] requires Adobe Reader 9.0 Please make 
sure you it installed.ADOBEREADER9INSTALLED/Condition
  ...
/Product


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: Tuesday, September 01, 2009 14:46
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to check the prerequisite software install?

Hi Wix-users,
 
My software needs another software (Sybase) as the prerequisite.
Therefore I need to check whether Sybase has been installed in the machine and 
show the warning message if it is not installed. How can I define the condition 
in the installer?
 
Best regards,
 
 
Chunyan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with Crystal 
Reports now.  http://p.sf.net/sfu/bobj-july 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application

Re: [WiX-users] How to check the prerequisite software install?

2009-09-01 Thread Sebastian Brand (Instyler Software)
Hi,

Add a Condition right under Product. The message in the @Message
attribute will be shown whenever the condition is false, and setup is
aborted. 
The condition should contain a Property that gets initialized with
RegistrySearch or FileSearch to find a registry value or file from the
other software to identify if it is installed.

Example:

Product
   Property Id=ADOBEREADER9INSTALLED
  RegistrySearch Id=ADOBEREADER9INSTALLED_REGSEARCH
Key=Software\Adobe\Acrobat Reader\9.0\InstallPath Root=HKLM Type=raw
/
/Property
Condition Message=[ProductName] requires Adobe Reader 9.0 Please make
sure you it installed.ADOBEREADER9INSTALLED/Condition
  ...
/Product


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] 
Sent: Tuesday, September 01, 2009 14:46
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to check the prerequisite software install?

Hi Wix-users,
 
My software needs another software (Sybase) as the prerequisite.
Therefore I need to check whether Sybase has been installed in the machine
and show the warning message if it is not installed. How can I define the
condition in the installer?
 
Best regards,
 
 
Chunyan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users