We have (re) implemented the ability to do a "Silent Install" of Rainmeter from the command line.
https://docs.rainmeter.net/manual-beta/installing-rainmeter/#SilentInstallation
This is primarily to get ready for future support of installing and updating Rainmeter using the WinGet - Windows Package Manager service that is going to soon be widely available in Windows. Rainmeter is not yet supported in the WinGet repository, but will be added as soon as the WinGet application and repository are available and reliable.
Do please try out and test this Silent Install functionality and let us know about any issues you encounter.
It is currently April 19th, 2024, 11:42 am
Silent Install
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: Silent Install
On the powershell script in silent install:jsmorley wrote: ↑July 18th, 2021, 4:59 pm We have (re) implemented the ability to do a "Silent Install" of Rainmeter from the command line.
https://docs.rainmeter.net/manual-beta/installing-rainmeter/#SilentInstallation
This is primarily to get ready for future support of installing and updating Rainmeter using the WinGet - Windows Package Manager service that is going to soon be widely available in Windows. Rainmeter is not yet supported in the WinGet repository, but will be added as soon as the WinGet application and repository are available and reliable.
Do please try out and test this Silent Install functionality and let us know about any issues you encounter.
Code: Select all
# This Powershell script does not need to be opened "As Administrator", as the command is evelated in the script. Pass it the name of the setup executable as a parameter.
param(
[Parameter(Mandatory)]
[string]
$InstallerPath
)
Write-Host Installing Rainmeter...
Start-Process -FilePath $InstallerPath -ArgumentList "/S /LANGUAGE=1033 /PORTABLE=0 /VERSION=64 /AUTOSTARTUP=1 /D=`"$($env:ProgramFiles)\Rainmeter`"" -verb runas
Write-Host Waiting 2 seconds...
Start-Sleep -s 2
Write-Host Starting Rainmeter...
Start-Process -FilePath "$($env:ProgramFiles)\Rainmeter\Rainmeter.exe" -WorkingDirectory "$($env:ProgramFiles)\Rainmeter"
Start-Sleep -s 1
stop-process -Id $PID
---------------------------------------------------------------------------
Edit 1: Tried the installer. And it installs fine. Tho, after an update, it didn't restart. I have to test that again.
Edit 2: On second and third try, it started alright after update. So I guess everything works fine.
---------------------------------------------------------------------------
Here is the script if someone is lazy:
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Silent Install
Ok, I think yours is better enough without being too complicated. I have changed the example in the documentation.
Thanks!
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Silent Install
In and of itself, the Silent Install is not terribly useful for most folks. It doesn't make it any easier or quicker to install Rainmeter really, and we are not promoting, nor encouraging, "rolling out" Rainmeter widespread in a corporate environment using the feature.
However, it is going to be very useful once we get Rainmeter implemented in the WinGet repository. Being able to run one simple command that downloads and installs the latest beta or release version of Rainmeter will be a time-saver indeed.
However, it is going to be very useful once we get Rainmeter implemented in the WinGet repository. Being able to run one simple command that downloads and installs the latest beta or release version of Rainmeter will be a time-saver indeed.
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: Silent Install
Exactly. I wouldn't make a script that installs Rainmeter. I would just download it. But, if it were between winget and manual, I would prefer winget, since I am not a fan of portable anyway and I can just run it easily.jsmorley wrote: ↑July 19th, 2021, 1:00 pm In and of itself, the Silent Install is not terribly useful for most folks. It doesn't make it any easier or quicker to install Rainmeter really, and we are not promoting, nor encouraging, "rolling out" Rainmeter widespread in a corporate environment using the feature.
However, it is going to be very useful once we get Rainmeter implemented in the WinGet repository. Being able to run one simple command that downloads and installs the latest beta or release version of Rainmeter will be a time-saver indeed.
On a second note, are you guys planning to bring it to the Mirosoft Store? Since it is planning to support win32 apps too.
from the Realm of Death
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Silent Install
We have not looked into that. I am very, very skeptical that the Microsoft Store is going to ever be anything but crap. I personally have download exactly zero things from it. I see no real benefit to the user installing from the Microsoft Store, which we obviously don't control, vs from https://www.rainmeter.net/, which we do.death.crafter wrote: ↑July 19th, 2021, 1:08 pm Exactly. I wouldn't make a script that installs Rainmeter. I would just download it. But, if it were between winget and manual, I would prefer winget, since I am not a fan of portable anyway and I can just run it easily.
On a second note, are you guys planning to bring it to the Mirosoft Store? Since it is planning to support win32 apps too.
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: Silent Install
It wouldn't download the installer, but install it directly. And automatic updatesjsmorley wrote: ↑July 19th, 2021, 1:11 pm We have not looked into that. I am very, very skeptical that the Microsoft Store is going to ever be anything but crap. I personally have download exactly zero things from it. I see no benefit to the user downloading the installer from the Microsoft Store, vs from https://www.rainmeter.net/.
from the Realm of Death
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Silent Install
I'm certainly not opposed in principle or anything. It's something we will look at, probably when Windows 11 is a lot closer to begin finalized.death.crafter wrote: ↑July 19th, 2021, 1:17 pm It wouldn't download the installer, but install it directly. And automatic updatesand stuff. I am not saying that you got to do it or something. Just asking if you were planning to :P
-
- Posts: 327
- Joined: September 3rd, 2018, 11:18 am
Re: Silent Install
Oooo now I can finally share this trick
http://rainmeter.github.io/rainmeter/status.json
If you wanna automatically update Rainmeter when a new version appears, use this site to get the latest version. The 2 resources you can use to download the installers for auto-updates are https://builds.rainmeter.net and https://github.com/rainmeter/rainmeter/releases
Right now Rainmeter only tells you in the corner there's a new version when it happens and that's all, with silent install and this site, you can probably create something named RainUpdater, improve THAT chocolatey script, make it so it lunches winget when a new version appears or much more
For beta revisions.... uhhhhhhhhhhhhhhhhh
http://rainmeter.github.io/rainmeter/status.json
If you wanna automatically update Rainmeter when a new version appears, use this site to get the latest version. The 2 resources you can use to download the installers for auto-updates are https://builds.rainmeter.net and https://github.com/rainmeter/rainmeter/releases
Right now Rainmeter only tells you in the corner there's a new version when it happens and that's all, with silent install and this site, you can probably create something named RainUpdater, improve THAT chocolatey script, make it so it lunches winget when a new version appears or much more
For beta revisions.... uhhhhhhhhhhhhhhhhh