burck1 / au-packages Goto Github PK
View Code? Open in Web Editor NEWThis project forked from majkinetor/au-packages-template
Repository for Automatically Updating Chocolatey Packages
License: MIT License
This project forked from majkinetor/au-packages-template
Repository for Automatically Updating Chocolatey Packages
License: MIT License
So, I'm not entirely sure how you'll feel about how I had to go about accomplishing the silent install package for Razer Synapse 3 because I'm not sure how you would go about automating it, but here goes.
The only way that I was able to accomplish the complete silent install of Razer Synapse 3 was to take a look at the install log and try and recreate how the web installer installs all of the components for Razer Synapse 3, but luckily the web installer downloads all of the components using publicly accessible URLs.
There are 6 components in total:
Also, the web installer installs them in that specific order, I don't know how much that really matters but you do have to specify if each one is the last installed module with /ISLASTMODULE=False
or /ISLASTMODULE=True
. By installing each of these components separately like this all of them can be installed silently with the /S
or /silent
flags. Some of the components you also have to specify the install path which is C:\Program Files (x86)\Razer
by default.
I'll go ahead and create a PR for how I setup my install script for the silent install, but like I said I don't know what you'll actually want to do with it because the only way that I can figure out how to get the updated links for the components is to install Synapse 3 using the web installer and looking at the install log.
There might be a way to see how the installer gets the links itself but I would have to decompile the web installer and I'm still looking into that.
Edit: I should also mention that these are just the required components and that none of the optional components are installed with this.
Sorry it's taken me so long to get back to you on creating the issue for creating the silent install package for Razer Synapse 2. I was working with the maintainer of the Battle.net package to try and get some fixes submitted for that package and realized that things get weird when you include the installer file within the package because then you have to make sure that you have redistributable rights at that point and my original implementation included the MSI file that the Razer Synapse 2 installer extracts. And the Razer redistribution rights don't allow us to do that and publish the package to the public feed.
Anyways, I have since found a way that we can get Razer Synapse 2 package to be silently installed without having to include the MSI file in the package, although something extra that you are going to have to work out since this is an automated package is how you're going to get the checksum of the internal file. The basic premise is to unzip the Web installer and within the unzipped files there is the internal installer that you can pass the silent install flags that you are using in your package to make it be silently installed.
The steps that I did to get the silent install package:
https://dl.razerzone.com/drivers/Synapse2/win/Web_Razer_Synapse_Installer_v2.21.24.41.exe
Install-ChocolateyZipPackage
to the $toolsDir
$PLUGINSDIR
in the $toolsDir
and in there will be the executable that can take /s /v"/qn"
for silent args, grab that filename with Get-ChildItem
filtering for *.exe
and Select-Object
or something similarInstall-ChocolateyInstallPackage
and the previously mentioned silent argsI will also create a PR with the code in the install script that I used and then you can do with it what you want and figure out how you want to handle automatically grabbing the checksum of the internal installer.
there is a new version of sql-workbench - are you going to update the package? https://chocolatey.org/packages/sql-workbench
i'm not sure what all needs to be updated or i'd submit a PR
The reviewer said something about a missing AHK script, I think they were talking about this. The currently available package (1.0.150.956) is pretty out of date.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.