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

(docs) Add convention about installer arguments #2388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdmiringWorm
Copy link
Member

Description

This updates the COMMITTERS contribution documentation to include
information about what silent arguments that should be used with each of
the technologies that are commonly used.

Motivation and Context

To try to standardize the conventions we use in this repository, or are moving towards using.

How Has this Been Tested?

N/A

Screenshot (if appropriate, usually isn't needed):

Types of changes

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Migrated package (a package has been migrated from another repository)

  • Documentation

Checklist:

- [ ] My code follows the code style of this repository.
- [ ] My change requires a change to documentation (this usually means the notes in the description of a package).

  • I have updated the documentation accordingly (this usually means the notes in the description of a package).
    - [ ] I have updated the package description and it is less than 4000 characters.
    - [ ] All files are up to date with the latest Contributing Guidelines
    - [ ] The added/modified package passed install/uninstall in the chocolatey test environment.
    - [ ] The changes only affect a single package (not including meta package).

@AdmiringWorm AdmiringWorm self-assigned this Jan 2, 2024
@AdmiringWorm AdmiringWorm marked this pull request as draft January 2, 2024 12:19
@AppVeyorBot
Copy link

✅ Package verification completed without issues. PR is now pending human review

1 similar comment
@AppVeyorBot
Copy link

✅ Package verification completed without issues. PR is now pending human review

Copy link
Member

@pauby pauby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really useful addition @AdmiringWorm. Thanks for putting it together.

Added a few questions and tweaks.

COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
COMMITTERS.md Outdated Show resolved Hide resolved
This updates the COMMITTERS contribution documentation to include
information about what silent arguments that should be used with each of
the technologies that are commonly used.
@AppVeyorBot
Copy link

✅ Package verification completed without issues. PR is now pending human review

@AdmiringWorm
Copy link
Member Author

@pauby I have rewritten just about the entire section, and changed the list of the installer technologies to have their own section with a bit more information. I also think I caught all the grammar errors you noted (if I didn't I'll blame LanguageTool).

Please let me know if something doesn't make any sense.

@gep13 gep13 requested review from Windos, gep13 and corbob January 18, 2024 15:53
@AdmiringWorm AdmiringWorm marked this pull request as ready for review January 18, 2024 17:12
Copy link
Contributor

@JPRuskin JPRuskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!


To determine installers and the possible support of arguments, there are three utilities available on the Chocolatey Community Repository that may be used, and it is expected that anyone working on this repository has these installed.

1. The easiest utility to use to determine an installer is the [Universal Silent Switch Finder][]. When it determines the installer, it also suggests what the arguments to use to make the installation silent. Verify these arguments with the below information about what should be used in this repository.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. The easiest utility to use to determine an installer is the [Universal Silent Switch Finder][]. When it determines the installer, it also suggests what the arguments to use to make the installation silent. Verify these arguments with the below information about what should be used in this repository.
1. The easiest utility to use to determine an installer is the [Universal Silent Switch Finder][]. When it determines the installer, it also suggests the arguments to use to make the installation silent. Verify these arguments with the below information about what should be used in this repository.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arguably either this or ending the sentence with an "are"?


The easiest way to figure out if this property is supported or not is to make use of the [LessMSI][] utility.
This can be done by first launching the utility and passing in the path to the executable.
```cmd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```cmd
```cmd

Very minor, but markdown generally suggests having empty lines around codeblocks. Matches other uses in the document, too.

Documentation and information about this installer can be found [here](https://github.com/Squirrel/Squirrel.Windows).

The arguments used when coming across this installer are:
```cmd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```cmd
```cmd

lessmsi-gui C:\path\to\installer.msi
```

The following exit codes should always be specified as valid: `0`, `1641`, `3010`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this line should be outside of the "how to use LessMSI to check AllUsers" section. Perhaps above it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think moving it further down, to be right after the silent arguments would be more appropriate.

This is similar to what I did for the Inno Setup documentation part.

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

Successfully merging this pull request may close these issues.

4 participants