Jump to content

Recommended Posts

Posted

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

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

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.

  • Thanks 2
Posted

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?

Posted

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

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

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

  • Thanks 2
Posted (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.

 

cmd.PNG

 

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 by chazzy2501

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...