how to resume installation after restarting pc in c# in Setup and Deployment project?
- Create a registry entry indicating where your installer left off.
- Make an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce with your installer name and location.
- Your installer will be run after the PC reboots.
- Read the registry entry and continue your installation.
-
:Suppose,i have an exe to be install while installing my application.So, here i want to check whether my exe is already installed or not(it may installed manually or using this setup).If it is already installed,no need to install my exe.Otherwise,Install it.Please guide me to get this issue... – Saravanan Oct 5 '11 at 6:59
-
@Saravanan: That is a separate issue and has no place in this post. If I were you, I would ask that question publicly. Its simple, though. You just have to check for the existence of the file where you would be installing it. – Gabriel McAdams Oct 5 '11 at 17:24