Hi All,
We are on LANDesk 9.5 SP1 and this script only needs to run on Windows 7 (x64) and 2008 R2 (x64) systems.
I need to create a custom definition that unzips a dll and several rll files to C:\Windows\Downloaded Program Files\ and then runs regsvr32.exe to register the file.
Unzipping the files to the location was the easy part, but I can't figure out how to get the regsvr32 command to work either in a script or as an executable, nor as local system user or by setting the package to run as a user with admin rights.
Command that needs to be run is:
regsvr32.exe /s "C:\Windows\Downloaded Program Files\rsclientprint.dll"
I'm pretty sure that UAC is the main culprit, but it cannot be turned off, so I'm wondering how we can script around it. Unfortunately, scripting is one area where LANDesk's documentation is pretty light and I couldn't find a good example in the definitions that LANDesk provides.
Thanks,
Alex