Skip to content

Initial MSI authoring for Previews - #521

Merged
bagajjal merged 4 commits into
PowerShell:latestw_allfrom
heaths:installer
Dec 6, 2021
Merged

bagajjal merged 4 commits into
PowerShell:latestw_allfrom
heaths:installer

Conversation

@heaths

@heaths Heath Stewart (heaths) commented Jul 26, 2021 •

Copy link
Copy Markdown

@heaths

Copy link
Copy Markdown
Author

Still need to wire up some UI and hook this into the build, but this MSI should be complete. I have, however, been unable to test this. I need libcrypto.dll and hoping a PR build might build it so I can get a binary without having to clone OpenSSL and build it myself.

Comment thread contrib/win32/install/server.wxs Resolved
@heaths

Heath Stewart (heaths) commented Jul 27, 2021 •

Copy link
Copy Markdown
Author

Seems $env:APPVEYOR_BUILD_FOLDER was not defined: https://ci.appveyor.com/project/PowerShell/openssh-portable/builds/40141492#L715

Seen this before? Looking through the PR I can't see what else might've affected it.

Comment thread contrib/win32/install/client.wxs Resolved
@floh96

Copy link
Copy Markdown

Heath Stewart (@heaths) could you rebase and resolve the merge conflict please?
Because of the merge conflict the ci build did not start.

Comment thread contrib/win32/install/server.wxs Resolved
</Component>
<Component>
<File Name="sshd_config_default">
<PermissionEx Sddl="O:BAG:SYD:PAI(A;;FA;;;SY)(A;;FA;;;BA)" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We can have read permissions to the authorized users.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This was copied from the scripts at the time of writing. Have they changed?

# Use VS2019 or VS2017 build tools if installed.
if (-not (Test-Path $sdkPath))
{
$packageName = "windows-sdk-8.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tess Gauthier (@tgauth), can you please cross check if windows SDK 8.1 is required?
With your recent telemetry changes, we are using windows SDK 10?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, the telemetry changes do require windows SDK 10, for the tracelogging header files.
Heath Stewart (@heaths), is windows SDK 8.1 a requirement for this?

Also - the initial merge conflict was caused by changes I made to the build script for telemetry, so I can help resolve to make sure all changes get incorporated.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

No. This was based on the script at the time but this PR has been open and unmerged for a long time. IMO, would've been better to merge it and add the UI later so any changes to other source would've been accounted for.

@bagajjal bagajjal left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Appreciate for taking time to provide this functionality.
I have minor comments. Most of the code looks good to me.

Thank you.

Comment thread contrib/win32/install/client.wxs Resolved
@bagajjal

Copy link
Copy Markdown

Hazel Duvall (hazelduvall) pushed a commit to hazelduvall/openssh-portable that referenced this pull request May 6, 2026
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.

5 participants