Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions msi/build/jenkins.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@
</Property>
<SetProperty After='AppSearch' Id='JENKINS_ROOT' Value='%LocalAppData%\Jenkins\'>NOT JENKINS_ROOT</SetProperty>

<Property Id="SERVICE_USERNAME">
<Property Id="SERVICE_USERNAME" Secure="yes">
<RegistrySearch Id="DetermineServiceUsername" Type="raw" Root="HKLM" Key="Software\Jenkins\InstalledProducts\Jenkins" Name="SU" Win64="yes" />
</Property>

<SetProperty Id="SecureCustomProperties" Value=";SERVICE_PASSWORD" Sequence="first" After="AppSearch" />
<SetProperty Id="MsiHiddenProperties" Value="[MsiHiddenProperties];SERVICE_PASSWORD" Sequence="first" After="AppSearch" />
<Property Id="SERVICE_PASSWORD_ENC">
<RegistrySearch Id="DetermineServicePassword" Type="raw" Root="HKLM" Key="Software\Jenkins\InstalledProducts\Jenkins" Name="SP" Win64="yes" />
</Property>
Expand Down