Page 1 of 1

How to handle auto-updates with Virtual Box?

Posted: Sun Oct 19, 2014 11:33 pm
by jsal
Hello,

I've created a small personal finance management application for Windows, which is composed by a couple of files.
To simplify deployment I'm trying Enigma Virtual Box, and so for I'm impressed. It creates a single exe which improves a lot the user experience and the onboarding of the application.
I'm definitely considering using Virtual Box in production environment, but I still haven't found how to deal with automatic updates.

In other words, the current version of the application is detecting new versions online, and if the user presses "update", it downloads the new version, executes the installer of the new version and closes itself for the installer to proceed. The installer takes care of removing the old version.

Changing to Virtual Box will help me get rid of the installer, but I don't know see a way to make the auto-update work. The first steps will be the same (user presses yes, new version is automatically downloaded), but I don't see how to perform the last steps with Virtual Box - execute the new version and close+delete the existing version - since the "boxed.exe" file is locked during execution.

What do you recommend for dealing with this issue?

Re: How to handle auto-updates with Virtual Box?

Posted: Mon Oct 20, 2014 9:48 am
by perfectcode
text removed

Re: How to handle auto-updates with Virtual Box?

Posted: Tue Oct 21, 2014 8:06 am
by Enigma
Agree with zylongaming, that's a solution.

Re: How to handle auto-updates with Virtual Box?

Posted: Wed Oct 22, 2014 6:26 am
by popcade
Don't have to change your code, just have a external update checker with NSIS etc, like:
http://nsis.sourceforge.net/Check_online_for_Updates

Then
http://nsis.sourceforge.net/Remote_Secure_Installer

This is an external thing and sould not interfere with your normal building/packing routines.