Unattended update: how to pass throught user settings to new installer?

StackOverflow https://stackoverflow.com/questions/21989558

  •  15-10-2022
  •  | 
  •  

문제

I have to implement the following scenario:

  1. Application is installed with user specific values like installation directory, server url, user home and more
  2. User should start a stand-alone updater
  3. updater should automatically check for update, download file and start the new installer in silent mode
  4. After installation there should be a status message whether update was successful or not

Therefore I took the updater of the Hello sample app and removed the user input forms. Now the check is succesful and the file will be downloaded. But how to pass through the user input values to the new installer? Should I use the response file and set this one as an argument for the silent installation?

Thanks in adnvance
Hardie

도움이 되었습니까?

해결책

The new installer will read the existing response file from old installation if you add a "Load a response file" action to the "Installation location" screen. The default project template already has this action in place.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top