Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

applying updates

 

LinkBack Thread Tools Display Modes
Old 05-07-2008, 08:41 AM   #1 (permalink)
Default applying updates

i have a VB6 application that periodically checks for version updates on our
servers over the internet. if a new version is found, it is downloaded to
the %temp% directory on the client's machine, and the current process is
stopped while the new executable is copied into the program files directory
overwriting the old version. the application is then started up again.
this all works fine on XP but due to Vista's new security settings, the
process of copying the new executable into the progaram files directory is
blocked even when im logged in as admin, which causes the update to fail.

the application is launched upon startup via a shortcut created during
install in the startup directory. if i manually set the privilege level in
the compatibiliy settings of the shortcut to run as administrator the update
works fine, but i can't find a way to do this programmatically. we are
currently using wix to generate a .msi file which performs the initial
installation routine. do i need to create a new install package in order to
make this work? can someone point me in the right direction here? it seems
like this should be a fairly simple task but i've spent a lot of time on
this to no avail. am i doing something fundamentally wrong? i've done
quite a bit of research on this topic but can't seem to find a good example
that applies specifically to VB6 applications.

any help you can offer will be much appreciated,

thanks!


JTL
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Applying all QFE's news.microsoft.com Windows XP Embedded 1 06-30-2004 05:53 PM
Applying XPe Updates; Can it be done with DUA and without? Scott Kelly Windows XP Embedded 6 03-02-2004 05:35 PM
Applying updates sean Windows XP Embedded 2 09-22-2003 06:44 PM
Applying security patches/updates offline Jupiter Jones [MVP] Windows XP Security & Administration 0 09-15-2003 05:48 PM
Windows XP Pro Won't Start After Applying Updates David Windows XP Performance & Maintenance 0 08-04-2003 03:05 AM


All times are GMT. The time now is 11:47 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90