Jump to content

Bat to Backup x files during install and retore them during Uninstall


someone there

Recommended Posts

someone there

Hi, every one I am creating some sort of modification and localization of a program what I want is to backup files that are going to be replaced during install and restore them during uninstall I used to use Advanced installer but it does not do the job exactly as I want so I combined the operation between Advanced installer and Setupbuilder . The job is done perfectly but the cost is large installation file in size .. I want to reduce that using bat to to backup files and another bat file to be run to restore the back up the problem is .. Advanced installer does not support bat files it supports only exe files ... It will be nice if I have only bat file to backup old files and install new files .. and another bat file uninstall new files and restore the old files .. It will be light and fast and reduce the installation size ..

Any help will be appreciated ..

Thank you

Link to comment
Share on other sites


  • Replies 3
  • Views 867
  • Created
  • Last Reply
  1. i use this to backup the installer folder
  2. xcopy C:\Windows\Installer\*.* C:\installer\ /s /e /y
  3. and use this to restore
  4. xcopy C:\installer\*.* c:\windows\installer\ /s /e /y
  5. i run this batch as cmd file

i hope this will help you

Link to comment
Share on other sites


someone there
  1. i use this to backup the installer folder
  2. xcopy C:\Windows\Installer\*.* C:\installer\ /s /e /y
  3. and use this to restore
  4. xcopy C:\installer\*.* c:\windows\installer\ /s /e /y
  5. i run this batch as cmd file

i hope this will help you

Thank you

The problem solved creating the bat files and converting them to exe .

Link to comment
Share on other sites


maybe try Dr Batcher Business Edition v2.2.0 with key uploaded to TPB yesterday.

if you google it you will see it has more features than you can shake a stick at lol

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...