Hello,
I'm trying to update the Wapt-get.ini file on all the workstations in my network to include `
allow_cancel_upgrade=0`, which allows me to force updates when the PC is shut down.
To do this, I modify the .ini file directly on the server and then generate a client via the console, which automatically creates a new private repository called "client upgrade". However, when I deploy it to the client PCs, the Wapt-get.ini file isn't modified, and the user can still cancel the updates.
Any ideas?
Wapt Client Update
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello,
the WaptAgent doesn't include this configuration, or you need to modify the file... c:\wapt\waptsetup\waptsetup.iss Then regenerate an agent.
The simplest solution is still to push the configuration after installation; here's an example package that does it:
https://wapt.tranquil.it/package_detail ... 6_all.wapt
Simon Fonteneau
the WaptAgent doesn't include this configuration, or you need to modify the file... c:\wapt\waptsetup\waptsetup.iss Then regenerate an agent.
The simplest solution is still to push the configuration after installation; here's an example package that does it:
https://wapt.tranquil.it/package_detail ... 6_all.wapt
Simon Fonteneau
sfonteneau
--- > I tested your package before deploying it, it works, but I don't have "allow_cancel_upgrade=0" but "notify_user=0" in the wapt-get.ini file. Is that the same thing? This "notify_user" doesn't appear in any documentation on the site.
--- > I tested your package before deploying it, it works, but I don't have "allow_cancel_upgrade=0" but "notify_user=0" in the wapt-get.ini file. Is that the same thing? This "notify_user" doesn't appear in any documentation on the site.
Good morning,
"allow_cancel_uprade" is not defined in the list of attributes of wapt-conf-policy:
However, you can modify the package to define it.
That should meet your expectations.
Sincerely,
Alexander
"allow_cancel_uprade" is not defined in the list of attributes of wapt-conf-policy:
Code: Select all
print('Modify max_gpo_script_wait')
inifile_writestring(WAPT.config_filename,'global','max_gpo_script_wait',180)
print('Modify Preshutdowntimeout')
inifile_writestring(WAPT.config_filename,'global','pre_shutdown_timeout',180)
print('Disable Hyberboot')
inifile_writestring(WAPT.config_filename,'global','hiberboot_enabled',0)
print('Disable Notify User')
inifile_writestring(WAPT.config_filename,'global','notify_user',0)Code: Select all
print('Disable Upgrade Cancellation')
inifile_writestring(WAPT.config_filename,'global','allow_cancel_upgrade',0)Indeed, it is not in the WAPT documentation; this will be rectified soonknowing that this "notify_user" does not appear in any documentation on the site.
Sincerely,
Alexander
