A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Vista Administration, Accounts and Passwords
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Vista Administration, Accounts and Passwords Queries, comments and issues relating to the administration of Windows Vista. (microsoft.public.windows.vista.administration_accounts_passwords)

applying updates



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 7th 08, 08:41 AM posted to microsoft.public.windows.vista.administration_accounts_passwords
JTL
external usenet poster
 
Posts: 3
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!


 




Thread Tools
Display Modes

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

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



All times are GMT. The time now is 04:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.