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
- :
- I met the same problem
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
Dec 07, 2007
03:44 AM
Never overwrite property of component is not working.
I am using an installscriptmsi project. In that i set "Never overwrite" property of a component to yes. And inside that component i dynamically linked all the files that i need to deploy through my setup.
Let say, i am deploying file1 to the target machine. But before deploying that file i am copying that file1 to the target machine through Xcopy function(For some condition) inside the script. Now my requirement is that as i have already copied that file to the target machine then the installer should not deploy the same file again as in that case it will overwrite the file that i copied earlier. But it is not happening, installer is overwriting the same file1 with the file that installer has inside the component.
Note: I have already set "Never overwrite" property of that component to yes. And that component has file dynamically linked.
Let say, i am deploying file1 to the target machine. But before deploying that file i am copying that file1 to the target machine through Xcopy function(For some condition) inside the script. Now my requirement is that as i have already copied that file to the target machine then the installer should not deploy the same file again as in that case it will overwrite the file that i copied earlier. But it is not happening, installer is overwriting the same file1 with the file that installer has inside the component.
Note: I have already set "Never overwrite" property of that component to yes. And that component has file dynamically linked.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 15, 2009
02:38 AM
I met the same problem, Please tell me why?