Skip to content

Custom package to run .EXE

Featured Replies

The package contains a .BAT that tells the following file to run C:\TEMP\Install.exe

 

I was able to run the .BAT manually and it works and tested the package on several machines while on the VPN and our office network but have failed to get it to work on my test group.

 

We used another package to copy the .EXE to the Temp folder because it is the only location that we can get it to run from.

 

The .BAT contains the following information..

 

"C:\temp\Install.exe"

 

I wanted to keep it simple but is their something I could add to make sure it will run? This will be pushed to all W7 laptops in our envirement with a mix of 64/32 bit.

 

We pushed the package to run hidden and use admisitrative rights.

 

  • Author

Thanks for responding Peter. The only problem with your solution is that it will run the .EXE from the package folder. I need Install.exe to run in C:\TEMP

 

Sorry if I did not make that clear in my initial post.

Keep the EXE in your package and change your BAT as follow :

REM MD C:\Temp

COPY %~dp0Install.exe C:\Temp\Install.exe
C:\Temp\Install.exe

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.