Forum Discussion
Magger777
Feb 06, 2023Copper Contributor
Robocopy batch to deploy files from a network drive via Win32App
Hello everyone, I was wondering if it is possible to use robocopy in a batch to deploy files from a network drive to the computer. After that I want to install the deployed files and after insta...
- Feb 07, 2023You can copy all the files to a folder including subfolder and use a install.cmd containing the install command for installation, you should also have a uninstall one
Feb 06, 2023
If you're running this as a user instead of SYSTEM, then it could be that the user hasn't got enough rights to install the MSI. If you're running this as SYSTEM, then it won't work because it hasn't got rights on the network drive.
You can better put the program.msi in the Win32 package and run it from there as SYSTEM, Intune downloads and extracts all the files in the Win32 package locally so no need to download it again
You can better put the program.msi in the Win32 package and run it from there as SYSTEM, Intune downloads and extracts all the files in the Win32 package locally so no need to download it again
Magger777
Feb 07, 2023Copper Contributor
I don't know if I'm getting this right.
The issue is that the MSI needs additional files to complete the installation.
That's why I tried it this way.
Is there a way build the files into the Win32 Package?
I tested to set this app to USER just to see if it would at least copy the files but it gave me a "Not Applicable Status"
- Feb 07, 2023You can copy all the files to a folder including subfolder and use a install.cmd containing the install command for installation, you should also have a uninstall one
- Magger777Feb 07, 2023Copper Contributor
By that you mean:
Create a .cmd with the install command and placing the in the folder.
Create a .intunewin package of that folder.
Create a Win32app and set the installation command to install.cmd?EDIT: Yes it worked! I guess you meant this. I didn't know you could pack files this way. Thanks a lot!