This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Software conditions and registry keys
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 29, 2012
06:09 PM
Software conditions and registry keys
Hi, how can i check if office is installed as software condition?
i have tried checking if HKEY_CURRENT_USER\Software\Microsoft\Office exist but does not works.
any help is welcome
thanks
i have tried checking if HKEY_CURRENT_USER\Software\Microsoft\Office exist but does not works.
any help is welcome
thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 31, 2012
03:52 AM
#define SOURCE_FILES SRCDIR // from where to be installed
#define OFFICE10 "...where your app is at"
#define CMD_LINE1 " /silent /v/q" //if you need to be installed in silent mode
STRING szKeyRoot;
//set registry location
RegDBSetDefaultRoot(HKEY_CURRENT_USER);
szKeyRoot = "Software\Microsoft\Office"
if (RegDBKeyExist (szKeyRoot)<0) then
LaunchApplication ( OFFICE10 , CMD_LINE1 , SOURCE_FILES , SW_SHOW , 1000000 , WAIT | LAAW_OPTION_SHOW_HOURGLASS);
endif;
#define OFFICE10 "...where your app is at"
#define CMD_LINE1 " /silent /v/q" //if you need to be installed in silent mode
STRING szKeyRoot;
//set registry location
RegDBSetDefaultRoot(HKEY_CURRENT_USER);
szKeyRoot = "Software\Microsoft\Office"
if (RegDBKeyExist (szKeyRoot)<0) then
LaunchApplication ( OFFICE10 , CMD_LINE1 , SOURCE_FILES , SW_SHOW , 1000000 , WAIT | LAAW_OPTION_SHOW_HOURGLASS);
endif;