>>>We have an custom app written in VFP7 that runs on all machines in our building. We have converted the app to VFP9. We would like to automatically uninstall the current app and then install the new app when the user logs on. We can do this when logged into the machine as administrator very easily. However, when we attempt to call the setup when logged in as a user we run into access denied or cannot write file errors.
>>>
>>>The commands we use are:
>>>\\serverfilelocation\setup /X /S /v/qn (uninstall old app)
>>>\\serverfilelocation\setup /S /v/qn (install new app)
>>>
>>>The setup.exe files were created with InstallShield.
>>>
>>>Are there parameters or settings in InstallShield that will allow the install on a machine logged in as a user without administrative permissions?
>>
>>The Windows RunAs utility might help:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true>
>
>Al, thank you for your response. We looked at that but it requires our intervention to enter the administrator password. We are trying to do this without having to go to each machine.
I haven't actually tried it, but I thought you could specify the password in the RunAs command line. If you then incorporate that into a logon script that should catch all the machines. You might have to do something (check for presence of an installed file?) to prevent the installation from happening more than once.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up