Rolling back action "MariaDB 10.6 (x64) Setup Wizard ended prematurely" when installing MariaDB - sql

I just tried to install MariaDB 10.6.5 (x64) on Windows 11
But it keeps showing as below
Error Installation Image
I've tried some possible solutions like doing the command msiexec /... in cmd
I also want to try this possible solution
"You need to used regedit.exe to remove the hidden files manually then you will be able to reinstall it again" but I don't understand how.
Can someone give any possible solution or guide me to used regedit.exe to remove the hidden files?

Related

How to uninstall XAMPP when its not in a root directory?

I have accidentally copied my XAMPP files into my Users\ ...\Desktop folder and now cannot uninstall it with the regular installer as it will only work if the files were in the root C:.
Attempting to delete the files with "right click -> delete" don't work either.
I have tried to just have two installations at the same time. One being in the Users\ ...\Desktop and one in C:, but apache still woudln't start.
Here's the error message in the C:\ version
Here's the error message in the Users..\Desktop version
I am more looking for how to uninstall the Users\ ...\Desktop version rather than troubleshoot it but the images might help show the problem.
Cheers!
Figured it out.
I moved the files to a USB stick so they are off my computer (you could probably just delete them normally), then ran cmd as administrator and typed "sc delete "Apache2.4"
and then ran XAMPP and worked a charm

Cmake configuration error, CMAKE_CONFIGURATION_TYPES Debug;Release;MinSizeRel;RelWithDebInfo

I am using windows 10 and have followed classic installation using the latest git bash inside the folder I want using option(1) copying the git text to the git bash and the cloning went normal no errors, I have also downloaded the latest CMake x64 version and followed the guide exactly and after I choose vs 15(2017) and hit finish I have an error message saying error in the configuration process, "project files may be invalid"
I already had git and CMake and all versions of vs installed but to make sure I redownloaded the newest versions and tried again no luck, I also recloned the repository no luck. after the error pops up there is a list item in CMake with name:CMAKE_CONFIGURATION_TYPES value:Debug;Release;MinSizeRel;RelWithDebInfo
Any help appreciated, if I figure it out I will update this thanks.
I found the issue, the pathing to my visual studio 15 2017 was incorrect, thanks peeps.

NSIS Detect running background process

I need the ability to look for another running process that is in the background while my NSIS installer is executing. This other process must be terminated and uninstalled before the new installer is completed.
I've tried using the FindProc plugin to find the process and also the KillProc plugin to kill the process. Each of those plug-ins returns nothing as a result.
FindProcDLL::FindProc "MyApplication.exe"
KillProcDLL::KillProc "MyApplication.exe"
I also tried nsProcess plug-in and it also does not work.
nsProcess::_KillProcess "MyApplication.exe" $R0
It seems people have success with these plug-ins but I don't know why it's not working in my scenario unless it has something to do with background processes.
Any help would be appreciated.
None of the NSIS plug-ins I tried worked. They would all return no result (not even 0 or a negative number). I ended up just using the following command and it worked with no problems. It will briefly pop up a command window, but I am okay with this in my scenario:
ExecWait "TaskKill /IM MyApplication.exe /F"
Hope this helps someone else.
Without knowing exactly which NSIS version you are using nor if you are compiling a Unicode or ANSI installer it is a bit hard to say exactly what's going on.
The original version from the wiki only works on 32-bit processes and the hnedka version should support 64-bit processes as well.
If you are using the hnedka version and NSIS v2.x then you need to extract the plug-in from the ANSI folder to \NSIS\Plugins. If you are using NSIS v3 then you need to extract from the ANSI folder to \NSIS\Plugins\x86-ansi and from the Unicode folder to \NSIS\Plugins\x86-unicode.
I can confirm that that hnedka version works in NSIS v3. If $R0 is empty then perhaps you extracted the wrong plug-in .dll to the wrong folder.
Apparently you are trying to find and kill a x64 process which is not supported. You should check this link out
http://nsis.sourceforge.net/Processes_plug-in

Bugzilla install on Windows 7 with Apache & Mysql

Environment:
Windows 7 Pro 64 bit.
Apache 2.2.25
ActivePerl 5.18.2 Build 1802 (64 bit)
Bugzilla 4.4.5 (extracted)
Okay, I have followed step-by-step instructions as indicated here: https://wiki.mozilla.org/Bugzilla:Win32Install
There's 1 major issue that I've researched all day and cannot find a solution. It's the "ppm install DBD-mysql" issue. There is no "DBD-mysql". When I use the ppm gui, there's a DBD-mysqlpp , but that's not what's needed.
When I run in a command window: C:\bugzilla\checksetup.pl , I get the only error:
Checking for DBD-mysql (v4.001) not found
For MySQL, Bugzilla requires that perl's DBD::mysql 4.001 or later be
installed. To install this module, run the following command (as Administrator):
ppm install DBD-mysql
Well, I found DBD-mysql 4.028 here: http://search.cpan.org/~capttofu/DBD-mysql-4.028
However, trying to get the perl ppm (perl package manager) gui to see it, but even pointing the link in the gui preferences it still wouldn't see it to download and install it. This sucks.
So, I manually downloaded it and saw some crap "makefile.pl" file. Look, I use WINDOWS not LINUX, so naturally I rolled my eyes but it quickly became clear that I HAD to do this. Well, after about an hour of screwing around I was finally able to make a mysql_config.pl file. Oh wow, great.... now what!? What do I do next with this??
Not only is this part aggravating, but now I need mod_perl in my Apache. Okay, so I look in my .conf file where I can uncomment:
#LoadModule perl_module modules/mod_perl.so
Guess what... it's not there. (facepalm)
So I researched and downloaded mod_perl 2.0.8 from: http://perl.apache.org/download/index.html
Heh, ... guess what... another damn "makefile" file!! Let me tell you, this is as bad as being a MAC user in the late 90's and trying to find a program to be compatible.
So, my 2 main questions are these:
How do I get DBD-mysql properly installed
How do I get the mod_perl properly installed
I have been working 12 hours non-stop trying to get Bugzilla installed. At this point, I'm so frustrated beyond believe I'm ready to scrap this and install flyspray or some other php/mysql bug tracking system.
For future reference in case anyone stumbles upon this item:
Most Perl modules have installation instructions, either in their .pod documentation or in a README or INSTALL file.
Most Perl modules follow a similar installation mechanism: create a makefile; run make; make test (which runs a set of tests, unsurprisingly), and then install the module. From the commandline, this looks like the following:
$ perl Makefile.PL
$ make
$ make test
$ make install
Both mod_perl and DBD::mysql have platform-specific installation information in the release notes.
DBD-mysql is a package that you can find in ActiveState Package Repository. That means that it should be installed at the time you installed ActivePerl, making your question really strange. I know it because I just did it yesterday, and everything worked just fine.
A possible solution for this issue is:
Open the command line in Windows;
Type ppm, press enter and wait. A GUI for the Perl Package Manager will be displayed;
Search for DBD-mysql. If you find it, schedule it for installation by right-clicking it and clicking on Install DBD-mysql 4.022;
Although, you probably won't find it. If you don't, press Ctrl+P and, in the dialog that appears, select the Repositories tab. Add a new repository:
Name: ActiveState-Package-Repository
Location: http://ppm4.activestate.com/MSWin32-x64/5.16/1604/package.xml
It will update the list of packages. Repeat steps 1 to 3.
If you prefer doing it by the command line, these are the instructions:
ppm repo add ActiveState-Package-Repository http://ppm4.activestate.com/MSWin32-x64/5.16/1604/package.xml
ppm install DBD-mysql

SQL Server Management Studio 2012/ALL Tools Install thru Command Line

Ok I managed to find the site, but I'm getting tired and upset so I figured if anyone knew a command line to just install tools thru the command line. SSMS on the server is no longer allowing me to change Maintinance Plans, but it can run them just fine.
I've given up on resolving that issue after exhausting 3 hours worth of uninstall/reinstall/Register DLL/Blah/Blah/Blah. Go to install the tools on my assistance computer and the idiot uninstalled Internet Explorer so now you can't launch SQL Install from the disk.
So if anyone happens to know the syntax I'd appreciate it very much, I just need the tools I don't need anything else. SSDT/SSMS/ and the like.
http://msdn.microsoft.com/en-us/library/ms144259.aspx
Try using
setup.exe /ACTION="Install" /IACCEPTSQLSERVERLICENSETERMS /Q /INDICATEPROGRESS /FEATURES="Tools"