chocolatey-community / chocolatey-packages

Chocolatey Community Maintainers Team Packages - packages that are managed and maintained by core community team for community package repository (https://community.chocolatey.org/packages)
https://community.chocolatey.org/profiles/chocolatey-community
Apache License 2.0
448 stars 381 forks source link

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

Closed lgreif closed 22 hours ago

lgreif commented 2 months ago

Checklist

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 commented 2 months ago

@karlo-mirkovic

karlo-mirkovic commented 2 months ago

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 commented 2 months ago

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

github-actions[bot] commented 2 weeks ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.

Please do not add a comment to circumvent automatic closure unless you plan to help move it forward. Doing this may lead to the issue being closed immediately instead.

github-actions[bot] commented 1 day ago

Dear contributor,

As this issue seems to have been inactive for quite some time now, I've automatically closed it. If you feel this is a valid issue, please feel free to re-open the issue if/when a pull request has been added. Thank you for your contribution.