Results 1 to 7 of 7

Thread: How to deploy New App

  1. #1

    Thread Starter
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    How to deploy New App

    In my current application, I use a Wise Installer script that checks our FTP server to see if there is a newer version of the application available, if so, it downloads the new version and the runs it otherwise it runs the version currently residing on the local machine. I want to release a newer version of my app but I want to uninstall the existing version and then install the new version.

    Unfortunately most of my users do not have the rights to install new applications on their machines. So either I have to visit 200+ machines to install or I can devise some sort of installer that will installer the new app. My question, how would I go about giving the installer program the appropriate rights when the new programs needs to be installed? Kind of like when you click on a application and select the "Run As" option.

    I hope this makes sense. The main reason for this is that we will be changing the location of the FTP server and my existing Wise Script will not work and I don't want to visit the 200+ machines either physically or via Remote Desktop to reinstall the app and the new Wise Installer Script. 90% of the machines are running WinXP and the remainder is using Win98.


    Thanks,

    Mark
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to deploy New App

    Moved
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: How to deploy New App

    Instaed of uninstalling... why dont u just Overwrite the old files with new ones?
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



  4. #4

    Thread Starter
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: How to deploy New App

    Quote Originally Posted by some1uk03
    Instaed of uninstalling... why dont u just Overwrite the old files with new ones?
    How would I go about doing that?
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: How to deploy New App

    If security is enables you can "run as" someone who can install unless you have the user name and password and that would seem to be a great security violation and I don't believe that they would let you do that.

  6. #6
    Member
    Join Date
    Apr 2007
    Posts
    38

    Re: How to deploy New App

    You should probably package that app in MSI (windows installer) form so you can have non-admins install it with elevated priviledges.

    http://support.microsoft.com/kb/259459

  7. #7

    Thread Starter
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: How to deploy New App

    Quote Originally Posted by lowlyhack
    You should probably package that app in MSI (windows installer) form so you can have non-admins install it with elevated priviledges.

    http://support.microsoft.com/kb/259459
    Good idea!, Thanks
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


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