chazzy2501 Posted November 9, 2020 Posted November 9, 2020 I have the new coreldraw2020 standard (which doesn't allow me to use the msi) but can only deploy using the exe so an easy (\\pathto\setup.exe /qn) Do I use a script or batch file? put it in computer startup? how do I set the account that is installing it and how do I stop it from trying to install every boot after it is successfully installed.? cheers
RobD Posted November 9, 2020 Posted November 9, 2020 If you want a quick and easy method with a pretty GUI, then check out PDQ deploy (there's a free version or paid version).
Katy Posted November 9, 2020 Posted November 9, 2020 I use Config Manager now, but in the past I knocked up a .bat file and set it as a startup script: @echo off if exist "c:\program files (x86)\program\program.exe" goto :END setup.exe /qn :END exit Replacing "program\program.exe" with one of the files it installs - so at each boot, if the program's EXE isn't there, install, otherwise do nothing. It'll run as system as it's a startup script. 2
chazzy2501 Posted November 10, 2020 Author Posted November 10, 2020 Dang, mines not working and I can't find an event log error or anything. How do I get it to make a log? @echo off if exist "C:\Program Files (x86)\Corel\CorelDRAW Standard 2020\Programs\DrawStandard.exe" goto :END "\\fileserv1.dcc-sch-4505.local\distribution point\corel2020\Setup.exe" /qn :END exit I put it in as a machine startup script, placed the .bat file in the show folders area of the gpo and used it. Did I miss anything?
DaveTheTech Posted November 10, 2020 Posted November 10, 2020 Are you sure that switch is valid? Usually /qn is for MSIs. There is a program called ussf - Universal Silent Switch Finder. Can be useful for just identifying what packager has been used for the Exe
atcoates Posted November 10, 2020 Posted November 10, 2020 (edited) They have a deployment guide here if that helps. http://product.corel.com/help/CorelDRAW/540111137/Main/EN/Deploy/CorelDRAW-Graphics-Suite-2020-Deployment-Guide.pdf Edited November 10, 2020 by atcoates
chazzy2501 Posted November 10, 2020 Author Posted November 10, 2020 thanks @atcoates this is the guide they provided it doesn't however state the limitations placed on the standard version that doesn't allow deployment in 2 of the 3 ways described using msi files. Corel's bat exe deployment in the guide states "visit Microsoft website"....nice.
Katy Posted November 10, 2020 Posted November 10, 2020 I usually stick something like this in after the installer line, before :END, if I wasn't sure if it was running or not: echo "Done" > c:\corel.txt then if it's running the script it'll drop a text file saying so - not as useful as a proper log but at least it rules out "it's not even running the script". 2
chazzy2501 Posted November 10, 2020 Author Posted November 10, 2020 (edited) I found the issue and it's working thanks... the log file didn't work but I don't think things can go into the root of c anymore here is what was happening. Strange char at the beginning. I typed a new one by hand as I could find it in the original file. EDIT: Wrong! I see the corel.log now... The asynchronous nature of the thing threw me. Edited November 10, 2020 by chazzy2501
sippo Posted November 10, 2020 Posted November 10, 2020 Invest in PDQ deploy. It really is a godsend.
ShellfishClive Posted November 11, 2020 Posted November 11, 2020 I normally extract the MSI from the EXE (if it has one, most do) and then use GPO to deploy the software. /s /x /b"" /v"/qn"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now