How to run vbscript in windows 72/26/2023 ![]() When I double click the script (or run it from an elevated command prompt) Setup.exe runs as 'Setup.exe *32'. When I run it as an application deployment from SCCM 2012 it errors out. When I run the script locally, things go perfectly. ![]() If filesys.FileExists("BusinessSystemSettings.xml") Thenįilesys.CopyFile "BusinessSystemSettings.xml", "C:\ProgramData\TheCompany\AppN\" Set filesys = CreateObject("Scripting.FileSystemObject") Set objShell = CreateObject("Wscript.Shell") So I wrote a VBS script called 'install.vbs': ![]() I need to run Setup.exe (with switches) and copy an XML configuration file to the installation directory. I'm trying to deploy an application from SCCM 2012 to Windows 7 圆4 clients. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |