Page 1 of 1

Patches (Deleting and Replacing files)

Posted: Wed May 22, 2013 8:58 am
by Sarah
Hello,

1. i want to create a patch that delete a file on the target system...is that possible? If yes, how i can do this?

2. On the following site " http://www.installaware.com/forum/viewt ... f=2&t=9343", there was the following comment for creating patches:

"The setup locic must be the same across your projects.
To be more clear, the patch project must be the exact copy of the base project.
If for example, in your base project you install File A and File B and with the patch you replace file B, the installation of file A must be still present in your patch project. "

Is it necessary to include file A in the patch project, when only file B should be replace on the target system?

I am very thankful for a response.

Re: Patches (Deleting and Replacing files)

Posted: Wed May 22, 2013 11:48 am
by FrancescoT
Dear Sarah,

yes, it is correct.

Patches are built using binary differential scans and contain only the delta of the changes between the older setups and the newest setup.

Regards

Re: Patches (Deleting and Replacing files)

Posted: Tue Jun 11, 2013 8:54 am
by Sarah
Hello,

i have build a setup which should install fileA, fileB, fileC on the target system. This files are listed under "Setup Architecture->Files" .
Now i install this setup on the target system.
In the next step i created patch1, which change the content of fileA, fileB, fileC. I run this patch1 on the target system and the changes are taken. Till this step, all is ok...But ....
In the next step i create patch2 which should delete file A . I delete this file in the "Setup Architecture->Files". So that only file B and fileC are listed. Then I build patch2. After installation of the patch2, the file ist not deleted from the target system. Should i make any other settings for deleting files for patch .

Best regards
Sarah

Re: Patches (Deleting and Replacing files)

Posted: Tue Jun 11, 2013 10:01 am
by FrancescoT
Dear Sarah,

have you included in each patch project the correct patch references?

For more information please have a look at the following link;
http://www.installaware.com/forum/viewt ... f=2&t=9343

Regards

Re: Patches (Deleting and Replacing files)

Posted: Mon Jun 17, 2013 1:45 am
by Sarah
Hello,

thanks for your response, i had the same problem like Rene, the following link gives me the solution...
http://www.installaware.com/forum/viewt ... f=2&t=9414


Best regards
Sarah