Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Backup of file before updating to new version

Hello Tushar,

Thank you for the detailed explanation.

In this case there are only two possible solution:

1. keep your original project implementation but disable the "Install Updates without elevation" option; thus only admin user accounts will be able to install/upgrade your setup product

2. keep your original project implementation with the "Install Updates without elevation" option enabled; but instead of using the current paths searches and launch BAT file custom action you should develop from scratch your own custom action code which will access the currently logged on (not the current installing user account) user account and copy the jar file from old install location to appdata folder

These are the only possible solutions I can think of.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”