Forum Discussion
AB21805
Dec 02, 2021Bronze Contributor
deploying tricky exe's
Hi all,
I have this software https://www.gaomon.net/download/ which I tried to convert into a msi via Advanced installer and no parameters I try works, I cant bypass the accept terms and other bits from the wizard. I have tried /qn, /quiet and /s
Nothing seems to work. If I was going to deploy this via the win32 method would this work? If so which sort of commands would I use as the website for this software doesnt show how to do this!
Thanks in advance!
Perhaps this you're overengineering 😉 What you could do is create a folder on your hard-drive c:\install. Copy all the files and directories like in your screenshot in it (Gaomon, GaomonTablet and the install.ps1.) Create another directory in c:\install, Shortcut for example, and copy shortcuts for your application in it that do work (Just create them on a system on which the applications already are installed) Adjust your install.ps1 script like this
#Copy files New-Item -Path "c:\" -Name "Gaomon" -ItemType "directory" -force Copy-Item -Path "Gaomon\*" -Destination "C:\Gaomon" -Recurse -force New-Item -Path "c:\" -Name "GaomonTablet" -ItemType "directory" -force Copy-Item -Path "GaomonTablet\*" -Destination "C:\GaomonTablet" -Recurse -force $Copy Shortcuts [system.string]$Desktop = [Environment]::GetFolderPath("Desktop") Copy-Item -path "Shortcut\Gaomon.lnk" -Destination "$($Desktop)\Gamon.lnk" Copy-Item -path "Shortcut\Gaomon.lnk" -Destination $($env:APPDATA)\Microsoft\Windows\Start Menu\Programs" Copy-Item -path "Shortcut\Gaomon Tablet.lnk" -Destination "$($Desktop)\Gamon.lnk" Copy-Item -path "Shortcut\Gaomon Tablet.lnk" -Destination $($env:APPDATA)\Microsoft\Windows\Start Menu\Programs"
Uninstall.ps1 would be something like this perhaps:
#Remove files remove-item c:\Gaomon -recurse -force remove-item c:\GaomonTablet -recurse -force [system.string]$Desktop = [Environment]::GetFolderPath("Desktop") remove-item "$($desktop\gaomon.lnk" -force remove-item "$($desktop\gaomon tablet. lnk" -force remove-item "$($env:APPDATA)\Microsoft\Windows\Start Menu\Programs\gamon.lnk" -force remove-item "$($env:APPDATA)\Microsoft\Windows\Start Menu\Programs\gamon tablet.lnk" -force
Not sure if you need shortcuts for Gaomon and Gaomon on all locations 🙂 Create a .intunewin package from your c:\install location
20 Replies
Sort By
- Looks like a click to play/run installation indeed.. I have seen this weird software often... just install it one a (test)device, fetch that directory from the device. Now we need to create a win32app to deploy it to another device. Create a powershell script and place that folder in it. And within that powershell script just make sure you copy that folder to a program files directory, now convert that powershellscript (and folder) to a win32app and upload it to intune...
Detection rule --> the folder in the program files folder- AB21805Bronze ContributorHi Rudy,
What would the script look like to copy a specific folder into program files? Also with it being a win32 app would we point to the script?- Hi,
Something like this?
https://call4cloud.nl/2021/08/remote-app-the-last-whish/#option3
Also just wondering by what happens when you try to "extract" the exe file ? with this parameters
exefile /s /x /b"C:\temp" /v"/qn"
- The software and it's site (Multiple Google Drive download links for official software?!?) seems almost not real/scam, but I downloaded the software in a Sandbox VM and installed it.. Almost seems like you can install it, copy the Gaomon and Goamontablet directory from your Appdata\Roaming folder to another pc and you can start it without installing?