Jump to content

Recommended Posts

Guest JTL
Posted

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

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...