How to install certificate before UAC prompt in Inno Setup? [closed] - batch-file

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a batch (.bat) file which install the digital signature into the client's LocalMachine\Root so that compiled exe from Inno Setup will not get the the unknown publisher prompt from Windows UAC while launching the setup.
If anyhow we could run the batch file itself from the compiled exe, right after installation begin then the unknown publisher prompt will not show.

You cannot mean this seriously.
If this were possible, what would the certificate check be for, if anyone could bypass it by installing its own certificate?
The certificate check happens even before your installer is actually executed. You have (rightfully) no control whatsoever over this.
You need to obtain a code-signing certificate signed by a trusted authority.

Related

How can I open a .nsi file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have downloaded a .nsi file and now I have to launch this to get my missing Windows registry keys installed. I tried different things to open it but so far everything didnt work. Can anyone please tell me how to run this kind of files?
A .nsi file is an input to the process that creates an executable. You need the Nullsoft Scriptable Install System compiler: https://nsis.sourceforge.io/Download
More info: https://nsis.sourceforge.io/Simple_tutorials

How to download from a website that requires logging in username/password, using a batch file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I saw questions of this for other types of files but not batch. I don't know much about code, but I have an idea.
Open up the link in Microsoft Edge (because it's already logged into the website), and download it from there. I don't know how to make the batch file to OPEN and DOWNLOAD using Microsoft Edge though. Is this possible?
To open, I think it's this:
start microsoft-edge:http://www.cnn.com
How do I download it after opening Edge?
Not exactly batch file, but using tools that are already part of Windows, you can fetch web content with Powershell, which according to the article, can simulate the Unix curl command.
Another way, if you absolutely insist on using batch, is to install the curl command and then use the answers here to help you get further, using cookies to keep track of the login between multiple invocations of curl.
Basic usage is easy, but maybe you need a curl tutorial to help you do this.
There is another tool called wget that has similar functionality and may be a better or easier method for you. Mileage may vary.

Can not connect through ssh to my remote machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Yesterday i restarted my remote computer only to find that i could no longer connect to it through ssh. I can connect to the computer if I'm using the computer, but when i try to on my other computer it does not work. I have tried reinstalling it but i have had no luck. Whenever i try to connect to it through a different computer, its "Connection timed out". I have also checked ssh status and it says it is running.
Also, I am kind of a beginner to this so if my terminology is off feel free to correct me.
I don't know what i should do. Any help and all help is appreciated!
Check if the firewall is blocking port 22.
maybe some changes have been made and got applied only when you restarted the machine.
Have a look at the output of
iptables -L | grep ssh
and see if there is any info

Complete uninstall of Postgresql from Mac OSX problems [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Initially I wanted to uninstall PSQL from my system and switch to postgres app, version 9.2.
Followed this guide closely, but still have problems with postgresql being active on my system.
psql gives me
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
When I got to
rm /usr/bin/psql
I get
override rwxr-xr-x root/wheel compressed for /usr/bin/psql?
Since this is out of my competencies, and I have no idea what it does, I am asking you guys.
The files in /usr/bin are a part of your operating system, and among the numerous suppliers of PostgreSQL installers or packages for Mac OS X, I think none of them ever suggests to delete /usr/bin/psql.
In fact there are quite a few more files that you would delete, should you want to wipe out the PostgreSQL client layer as shipped by Apple. And when you'll upgrade that system to 10.8.X+1 or whatever, the Apple installer may well put them back again with newer versions.
If you're in uncharted territory when playing admin with your operating system, it's better to just follow the procedure suggested on postgres.app, which boils down to changing your program's search path, so that their psql and other tools (pg_dump, pg_restore,...) come first.
Also, related answer: How to fix pg_dump version mismatch errors?

Unable to launch .bat [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have a Minecraft server; When you run the server for the first time, it starts generating the world you are going to play on in the folder where you have the Minecraft_server.exe (This is normal behavior.)
I made a batch to open the Minecraft_server.exe. But when I place the .bat on my desktop and run it, it starts creating new server files instead of starting the program in the original folder where the existing world is.
How can I launch the bat anywhere on the PC, such that it wont generate new folders? I want it to always start in the Minecraft server folder.
You must first switch to proper drive and then using cd command switch to Minecraft server folder. Then you can run .exe with absolute path (if it is not in Minecraft server folder).

Resources