Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista - applying updates

Reply
 
Old 05-07-2008   #1 (permalink)
JTL


 
 

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!



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Updates not applying, Windows mail won't open Vista General
error applying transforms...... Software
applying update Vista security
Applying Message Rules ? Vista mail
Trouble posting since applying updates Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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