Any questions? Ask us: support@enigmaprotector.com

How to handle auto-updates with Virtual Box?

Issues related to Enigma Virtual Box

How to handle auto-updates with Virtual Box?

Postby jsal » Sun Oct 19, 2014 11:33 pm

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?
jsal
 
Posts: 1
Joined: Sun Oct 19, 2014 11:31 pm

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

Postby perfectcode » Mon Oct 20, 2014 9:48 am

text removed
Last edited by perfectcode on Sun Feb 22, 2015 9:00 am, edited 1 time in total.
perfectcode
 
Posts: 28
Joined: Tue Oct 30, 2012 8:15 am

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

Postby Enigma » Tue Oct 21, 2014 8:06 am

Agree with zylongaming, that's a solution.
Enigma
Site Admin
 
Posts: 2179
Joined: Wed Aug 20, 2008 2:24 pm

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

Postby popcade » Wed Oct 22, 2014 6:26 am

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.
popcade
 
Posts: 10
Joined: Sun Nov 10, 2013 12:44 pm


Return to Enigma Virtual Box x86/x64

Who is online

Users browsing this forum: Google [Bot] and 10 guests

cron