Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanitho committed Jul 20, 2024
1 parent 87bfa21 commit 4d7d3db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/WAU/Winget-AutoUpdate/WAU-MSI_Actions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function Uninstall-WingetAutoUpdate {
$ConfFolder = Get-Item (Join-Path "$InstallPath" "config")
if ($AppLists) {
Write-Output "Remove item: $ConfFolder"
Remove-Item $ConfFolder -Force
Remove-Item $ConfFolder -Force -Recurse
}

Write-Host "Uninstallation done!`n"
Expand Down
2 changes: 1 addition & 1 deletion Sources/WAU/Winget-AutoUpdate/functions/Get-WAUConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Function Get-WAUConfig {

#Get WAU Configurations from install config
$WAUConfig_64_86 = Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Romanitho\Winget-AutoUpdate*", "HKLM:\SOFTWARE\Romanitho\Winget-AutoUpdate*" | Sort-Object { $_.ProductVersion } -Descending
$WAUConfig_64_86 = Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Romanitho\Winget-AutoUpdate*", "HKLM:\SOFTWARE\Romanitho\Winget-AutoUpdate*" -ErrorAction SilentlyContinue | Sort-Object { $_.ProductVersion } -Descending
$WAUConfig = $WAUConfig_64_86[0]

#Check if GPO Management is enabled
Expand Down
2 changes: 1 addition & 1 deletion Sources/WAU/Winget-AutoUpdate/functions/Update-WAU.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function Update-WAU {

#Update WAU
Write-ToLog "Updating WAU..." "Yellow"
Start-Process msiexec.exe -ArgumentList "/i $MsiFile /passive /l ""$WorkingDir\logs\WAU-Installer.log"" $Work WIXUI_EXITDIALOGOPTIONALCHECKBOX=1"
Start-Process msiexec.exe -ArgumentList "/i $MsiFile /passive /l ""$WorkingDir\logs\WAU-Installer.log"" WIXUI_EXITDIALOGOPTIONALCHECKBOX=1"

exit

Expand Down
2 changes: 1 addition & 1 deletion Sources/Wix/Make_MSI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ foreach ($platform in $platforms) {
<DialogRef Id="UserExit" />
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="StartWAU_Checkbox" Order="1">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="StartWAU_Checkbox" Order="1">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
Expand Down

0 comments on commit 4d7d3db

Please sign in to comment.