Results 1 to 4 of 4

Thread: Download the latest version

  1. #1

    Thread Starter
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Download the latest version

    Hello, I was thinking of allowing .msi contact my server and request the lastets version of the software.
    For example let say the user downloaded version 1.0.0.0 of the application, but latest version 1.0.0.5.
    How would i force the installer upgrade to the newer version?
    P.s
    I don't know if this feature evening available.
    This is just for educational reasons.
    Last edited by Pc_Not_Mac; Nov 20th, 2010 at 11:21 AM.
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

  2. #2

    Thread Starter
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Unhappy Download the latest version

    105 views with no replies
    Is this even possible?
    I was thinking of allowing the application check on start up for a new version, but imagine how this will look like.

    1.)You download version 1.0.0.0.
    2.)You start the wizard and install.
    3.)The application starts up and finds new update.
    4.)Downloads a wizard.
    5.)Forces the user to uninstall version 1.0.0.0.
    5.)Forces the user to run it again.
    6.)Starts the application.

    Does anyone less see this being a pain?
    What can i do?
    Last edited by Pc_Not_Mac; Nov 20th, 2010 at 11:21 AM.
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Download the latest version

    Quote Originally Posted by Pc_Not_Mac View Post
    Hello, I was thinking of allowing .msi contact my server and request the lastets version of the software.
    What do you mean by ".msi" here?

    MSI is "Microsoft Installer" which was renamed Windows Installer a long time ago. My guess is that you really mean a .msi file, i.e. a deployment package. These are actually just databases and can't contact anything, so you probably mean you want to add directives to make MSIEXEC.EXE do this when it processes the Actions table in the .msi database. Ok.

    Well you can add things like script or DLL Custom Actions to do almost anything, but once an install has started it isn't really practical to start another install.


    Your next post changes the story a little.

    Checking in the installed and running application is probably more practical. Windows Installer doesn't do anything to help with checking for new versions or downloading them, but it does offer patching techniques you might use if your application does the checking and downloading. Some of the features supporting such things require later versions of Windows Installer (some of which are not available before Windows 7). Though a lot of these features go back as far as the 1.1 release some important features require at least the 3.0 Installer.

    Quote Originally Posted by Pc_Not_Mac View Post
    This is just for educational reasons.
    In that case you might not want to put in the effort required. This can be a big subject because doing it correctly can entail so many small things.

    You might take a look at Patching and Upgrades for an overview.

  4. #4

    Thread Starter
    Frenzied Member Pc_Not_Mac's Avatar
    Join Date
    Oct 2009
    Location
    localhost
    Posts
    1,206

    Re: Download the latest version

    dilettante i have no idea what want to do.
    I'm going to focus on developing for now
    My Codebank:
    Windows Vista & 7 Glass Effect & Limit the amount of times your application could be opened.
    Pause Your Code & Check the OS name

    The question of whether computers can think is like the question of whether submarines can swim.

    Currently learning: Java

    Coding can be a learning experience or

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width