Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(pdfcreator) Installation Fails on Domain Joined Computers using AHK script #2518

Open
2 tasks done
lgreif opened this issue Aug 13, 2024 · 3 comments
Open
2 tasks done
Labels

Comments

@lgreif
Copy link

lgreif commented Aug 13, 2024

Checklist

  • I have verified that this is the correct repository, and the package is maintained by the chocolatey-community user.
  • I have verified that this is happening in the latest available version of the package.

Chocolatey Version

2.3.0

Chocolatey License

None

Package Version

5.2.2

Current Behaviour

When installing on domain joined computer, the chocolatey package attempts to use AutoHotkey to install the software. AutoHotkey script was written in AHK V1.1 and does not run under AHK V2.0+.
image

Expected Behaviour

AHK script should run and clock through the installer.

Steps To Reproduce

  1. On a Domain Joined windows 10 or 11 PC
  2. Run choco install pdfcreator
  3. AHK error will come up

Environment

- Operating System: Windows 10 x64
- PowerShell Version:
- Shell:

Chocolatey Log

PDFCreator v5.2.2 (forced) [Approved]
PDFCreator package files install completed. Performing other installation steps.
The package PDFCreator wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): A

Print Spooler service state:  / Running
Print Spooler service new state: Auto / Running
WARNING: Silent install of PDFCreator is not supported on domain-joined systems like this one.
WARNING: Silent install will be attempted, but is less certain.
Installing PDFCreator...

Anything else?

No response

@lgreif lgreif added the Bug label Aug 13, 2024
@lgreif
Copy link
Author

lgreif commented Aug 13, 2024

@karlo-mirkovic

@karlo-mirkovic
Copy link

Hello,
In the Chocolatey Log, you can find the line:
"WARNING: Silent install of PDFCreator is not supported on domain-joined systems like this one."

In the docs, you can also find the following:
"Apart from several features, PDFCreator Free can not be installed silently on machines that are part of a Windows domain."
Please see the documentation

If you wish to install PDFCreator Free on a domain-joined system, the installation has to be interactive.
To do this please use the install command along with the --notsilent or --not-silent options.

@lgreif
Copy link
Author

lgreif commented Aug 14, 2024

Hi @karlo-mirkovic ,
Thanks for your fast response! I saw that note in the choco log, I was looking at the choco install script and noticed there was an autohotley script in there to click through the installer that only runs on domain joined computers, but it looks like this no longer works (for multiple reasons - AHK version and looks like installer has also changed to not allow AHK to click the buttons).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants