Repackage an Application – PDF-XChange Viewer PRO Deployment Methods
Write a batch file with the following (desired) commands;
"setup.exe" /VERYSILENT /NORESTART /COMPONENTS:"pdfviewer,Help,IEAddin" /KEY:"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /PDFV /PDFVINBROWSER
regedit.exe /s "settings.reg"
The file "settings.reg" is the registry entries which contains some of the preferences and settings for this particular program. All software that we install on our computers has this kind of entries in the "Registry Editor". You can export this registry key for your particular program and add in your batch file in order to customize some of the settings silently right after the installation!
Once your batch file is ready, let's save it as "setup.bat" for this exercise! Download the latest version of the PDF-XChange Viewer PRO program and rename it to "setup.exe" for this exercise. You will also need the program Bat to Exe Converter from (www.f2ko.de). Now, let's start repackaging the application.
Look at the following screenshots to set the same settings with your installation files like your setup.bat, setup.exe and if you want to use any custom icon for your project! Finally, you should click on "compile" button to have your application repackaged in an "exe" setup file.