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
- :
- Re: Prompt before overwriting read-only file?
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
Jan 26, 2010
12:26 PM
Prompt before overwriting read-only file?
I am validating InstallShield 2010 for use in my company, making sure all the requirements specified for an installation utility are satisfied by IS2010.
This validation attempts to reproduce the tests run when a similar validation was performed on InstallShield 7.0.
I am stuck on one particular requirement, namely the ability to:
"overwrite an installed file if instructed to do so"
The test project for InstallShield 7.0 is no longer available, but the written test steps specify the following actions :-
- run a small test installation, one of the files installed is Readme.txt which is read-only
- re-run the installation - detects that Readme.txt is read-only, and prompts the user with the following message-box :-
"Setup is trying to overwrite the read-only file Readme.txt. Do you wish to overwrite?"
I cannot figure out how to test this on IS2010.
All the test projects I have created so far use InstallScript.
(1) Is the prompt before overwrite feature no longer supported in IS2010?
(2) Can you suggest how I can prove the above requirement?
Thanks.
This validation attempts to reproduce the tests run when a similar validation was performed on InstallShield 7.0.
I am stuck on one particular requirement, namely the ability to:
"overwrite an installed file if instructed to do so"
The test project for InstallShield 7.0 is no longer available, but the written test steps specify the following actions :-
- run a small test installation, one of the files installed is Readme.txt which is read-only
- re-run the installation - detects that Readme.txt is read-only, and prompts the user with the following message-box :-
"Setup is trying to overwrite the read-only file Readme.txt. Do you wish to overwrite?"
I cannot figure out how to test this on IS2010.
All the test projects I have created so far use InstallScript.
(1) Is the prompt before overwrite feature no longer supported in IS2010?
(2) Can you suggest how I can prove the above requirement?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 27, 2010
12:17 PM
Found the solution, sorry to have bothered you.
Used OnFileReadOnly
Used OnFileReadOnly