how to resume installation after restarting pc in c# in S开发者_如何学JAVAetup 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.
精彩评论