Hello everyone,
I would like to deploy CCleaner with very specific settings, such as:
"Automatically clean the computer at startup,"
"Minimize to the notification area,"
etc.
How can I do this?
Configuring applications (ccleaner)
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available 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, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available 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, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- david.debray
- Messages: 7
- Registration: Nov 13, 2017 - 1:02 p.m.
OS Server: Debian Stretch (9.4)
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
Hi,
For my part I would look in the publisher's documentation: https://www.piriform.com/docs/ccleaner/ ... eaner-runs & https://www.piriform.com/docs/ccleaner/ ... parameters
Provided that the INI file is usable with the free version.
For my part I would look in the publisher's documentation: https://www.piriform.com/docs/ccleaner/ ... eaner-runs & https://www.piriform.com/docs/ccleaner/ ... parameters
Provided that the INI file is usable with the free version.
- david.debray
- Messages: 7
- Registration: Nov 13, 2017 - 1:02 p.m.
Thanks for the reply, I'd already made some progress on that front.
Here are the steps I followed:
- Installation & configuration of CCleaner on the wapt development machine (with all the correct settings)
- Configuration saved in the ccleaner.ini file
- Editing the CCleaner package + copying the (edited) ccleaner.ini file to the c:/waptdev/ccleaner directory
- Build & upload
- Deployment on the test PC
Result:
- CCleaner installed but with default settings
- the ccleaner.ini file in C:/Program Files/Ccleaner is indeed the one I modified
How can I get CCleaner to retrieve the settings from the .ini file at startup?
Here are the steps I followed:
- Installation & configuration of CCleaner on the wapt development machine (with all the correct settings)
- Configuration saved in the ccleaner.ini file
- Editing the CCleaner package + copying the (edited) ccleaner.ini file to the c:/waptdev/ccleaner directory
- Build & upload
- Deployment on the test PC
Result:
- CCleaner installed but with default settings
- the ccleaner.ini file in C:/Program Files/Ccleaner is indeed the one I modified
How can I get CCleaner to retrieve the settings from the .ini file at startup?
OS Server: Debian Stretch (9.4)
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
- david.debray
- Messages: 7
- Registration: Nov 13, 2017 - 1:02 p.m.
Okay, that's good, I've solved my configuration problem.
Now I'd like to start ccleaner.exe /AUTO at login, so I added the following command to session_setup:
create_shortcut(r'%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Ccleaner.exe', target=r'C:\Program Files\CCleaner\CCleaner.exe', arguments=r'/AUTO')
But without success. Is there a way to launch programs at startup? Something like "create_user_programs_menu_shortcut" but for the "Startup" folder?
Now I'd like to start ccleaner.exe /AUTO at login, so I added the following command to session_setup:
create_shortcut(r'%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Ccleaner.exe', target=r'C:\Program Files\CCleaner\CCleaner.exe', arguments=r'/AUTO')
But without success. Is there a way to launch programs at startup? Something like "create_user_programs_menu_shortcut" but for the "Startup" folder?
OS Server: Debian Stretch (9.4)
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
- david.debray
- Messages: 7
- Registration: Nov 13, 2017 - 1:02 p.m.
Hello,
I still haven't managed to get CCleaner to start automatically on my test machine...
I've searched the forum but without success...
Is there a command I could use when creating the package to launch a program when the session starts?
Regards,
I still haven't managed to get CCleaner to start automatically on my test machine...
I've searched the forum but without success...
Is there a command I could use when creating the package to launch a program when the session starts?
Regards,
OS Server: Debian Stretch (9.4)
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
WAPT Version: 1.5.1.23
OS Admin: Windows Server 2008 R2
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
