cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
micc1312
Level 2

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.
Labels (1)
0 Kudos
(1) Reply
micc1312
Level 2

Found the solution, sorry to have bothered you.

Used OnFileReadOnly
0 Kudos