PDA

View Full Version : is their a way to not install a file if it already exists.



NewsArchive
09-21-2016, 02:07 AM
First Thanks Friedrich for getting code signing solved for me.
Is their a way to not install a file if it already exists.


Thanks

Gary

NewsArchive
09-21-2016, 02:07 AM
Gary,

> First Thanks Friedrich for getting code signing solved for me.
> Is their a way to not install a file if it already exists.

See attached...

Lee White

NewsArchive
09-21-2016, 02:08 AM
>Gary,
>
>> First Thanks Friedrich for getting code signing solved for me.
>> Is their a way to not install a file if it already exists.
>
>See attached...
Thanks lee. I saw that. But it never installs. I need it to not
install if the file already exists.

Gary

NewsArchive
09-21-2016, 02:09 AM
Gary,

> Thanks lee. I saw that. But it never installs. I need it to not
> install if the file already exists.

Without knowing the other options it's kind of hard to guess!<g>

It could be limited by your "Features" or something else.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://archive.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
09-21-2016, 02:09 AM
Hi Gary,

> Is their a way to not install a file if it already exists.

Have you tried to use the "If File/Folder" action and set the condition
to "File or Folder doesn't exists", see:
http://screencast.com/t/m0iWQkkEk9P to wrap around the "Install File"

Something like:

If %JUNK% File or Folder doesn't exist Then
Install File "c:\test.txt" to "%_SB_INSTALLDIR%\test.txt"
End

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-21-2016, 02:35 AM
Hi Gary,

>>> First Thanks Friedrich for getting code signing solved for me.

You are very welcome!

>>> Is their a way to not install a file if it already exists.
>>
>>See attached...
> Thanks lee. I saw that. But it never installs. I need it to not
> install if the file already exists.

What Lee said. This is a "Replacement Option". If you set it to "Never"
then the setup will always install the file if it does NOT exist and will
skip the file installation process if it already exists.

Friedrich

NewsArchive
09-21-2016, 07:51 AM
Thanks. I did try never but it seemed to never install the file. I
did find copy which has a check mark to not copy if the file exists.
So all is working.

Thanks

Gary