Page 1 of 1
Configuring applications (ccleaner)
Published: November 13, 2017 - 2:10 PM
by david.debray
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?
Re: Configuring applications (ccleaner)
Published: November 14, 2017 - 10:03 AM
by Root
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.
Re: Configuring applications (ccleaner)
Published: November 15, 2017 - 2:15 PM
by david.debray
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?
Re: Configuring applications (ccleaner)
Published: November 15, 2017 - 3:54 PM
by david.debray
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?
Re: Configuring applications (ccleaner)
Published: January 30, 2018 - 2:02 PM
by david.debray
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,
Re: Configuring applications (ccleaner)
Published: February 6, 2018 - 5:18 PM
by sfonteneau