Results 1 to 6 of 6

Thread: [RESOLVED] Help with Separate Update Program...?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2010
    Posts
    106

    Resolved [RESOLVED] Help with Separate Update Program...?

    Well need to make a separate update program and I need some way of getting my main application's version. I thought about making a text file with the version but I can't write to the program files folder with permission, thats why I have a second program. I also though about making the update program's version the same as the main application, but that doesn't seem right because I have to update the update program.... So is there a way I can get the main applications version inside the update program?

  2. #2
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    Re: Help with Separate Update Program...?

    Have you tried writing it to the registry? Then your Update app could retrieve it from there.

    Justin
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

  3. #3
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,158

    Re: Help with Separate Update Program...?

    or you can write to the Application Data folder

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Feb 2010
    Posts
    106

    Re: Help with Separate Update Program...?

    Okay- with the registry I need admin privileges and I'm not sure what you mean by the Application Data folder. Thanks for the replies.

  5. #5
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    Re: Help with Separate Update Program...?

    If you can't write to the Application folder ( the folder the application's .exe resides in) and you can't write to the registry...

    Then I have no idea what to do... do you have access to the all users folder? Or the current users temp folder?

    Justin
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

  6. #6
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Help with Separate Update Program...?

    You can have the main application does the update check at startup or on demand (by users). The main application then determines whether or not to launch the updater program. If it decides to launch the updater, it can call Process.Start(updater.exe, "any arguments it likes to pass to the updater here") and then closes itself. The updater can then download the updated version to overwrite the current version of the main app.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

Tags for this Thread

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