vslavik / winsparkle

App update framework for Windows, inspired by Sparkle for macOS
http://winsparkle.org
Other
1.31k stars 267 forks source link

Installer Arguments (<sparkle:installerArguments>) probably ignored #201

Closed spekdrum closed 5 years ago

spekdrum commented 5 years ago

I've configured an enclosure to download a setup app made with InnoSetup. When I manually run this setup with the argument "/SILENT" it behaves as expected (in silent mode). But it doesn't work when it's downloaded and executed through Winsparkle.

This is my appcast file:

`<?xml version="1.0" encoding="UTF-8"?>

Test Most recent updates to test en Version 1.0.1 /SILENT ` I'm using it manually with this method: win_sparkle_check_update_with_ui_and_install(), but I tried the other manual methods with same result.
Marginal commented 5 years ago

sparkle:installerArguments goes within the "enclosure". So:

<enclosure url="http://localhost:8090/updates/setup.exe" sparkle:version="1.0.1" sparkle:installerArguments="/SILENT" length="0" type="application/octet-stream" />
spekdrum commented 5 years ago

It worked, thanks!!