|
#1
|
|||
|
|||
|
How do I check for the presence of Excel before allowing the setup to continue?
|
|
#2
|
|||
|
|||
|
Code:
-- Check if Excel 2007 is installed
bExcelIsInstalled = Registry.DoesKeyExist(HKEY_CURRENT_USER, "Software\\Microsoft\\Office\\12.0\\Excel");
if (bExcelIsInstalled) then
Screen.Next();
else
result = Dialog.Message("Notice", "You must install Excel first", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Exit(0);
end
Code:
--Check if Excel 2003 is installed
bExcelIsInstalled = Registry.DoesKeyExist(HKEY_CURRENT_USER, "Software\\Microsoft\\Office\\11.0\\Excel");
if (bExcelIsInstalled) then
Screen.Next();
else
result = Dialog.Message("Notice", "You must install Excel first", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Exit(0);
end
Last edited by searcher123; 09-10-2008 at 12:00 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Text Message in Check Boxes Screen without Check Box | nsugumar | Setup Factory 7.0 Discussion | 3 | 07-08-2008 08:46 AM |
| Example: Drive Check Utility and USB Key | Roboblue | AutoPlay Media Studio 7.5 Examples | 3 | 02-28-2007 08:54 AM |
| Check HTTP for file... | eleslie | AutoPlay Media Studio 5.0 | 4 | 05-15-2004 01:21 PM |
| Default check box value based on variable | Terry Rasmussen | Setup Factory 6.0 | 7 | 02-27-2004 03:08 PM |
| check boxes | bzadik | AutoPlay Menu Studio 3.0 | 1 | 06-06-2000 03:39 PM |
All times are GMT -6. The time now is 06:29 PM.








Linear Mode

