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
- :
- Check for a file on HDD, display dialog if file exists, halting install?
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
Oct 29, 2007
07:05 AM
Check for a file on HDD, display dialog if file exists, halting install?
Building install package using InstallShield 2008, target OSes Windows XP SP2, and Vista.
How do I:
1) Check if a particular file exists on the HDD.
2) If the file exists, popup a dialog telling user to uninstall previous version of product before running the new install program?
Another option instead of 1) would be to check for a GUID? Does each InstallShield install package have a unique GUID that I could check for, if so, where would I find it?
THX
Scott
How do I:
1) Check if a particular file exists on the HDD.
2) If the file exists, popup a dialog telling user to uninstall previous version of product before running the new install program?
Another option instead of 1) would be to check for a GUID? Does each InstallShield install package have a unique GUID that I could check for, if so, where would I find it?
THX
Scott
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2007
02:14 PM
What type of project? If MSI, you might look into the System Search Wizard for finding existing data, and look into launch conditions to display a message and exit based on a condition.