how to install Go language on windows without admin rights? - go

I don't have admin rights on my Windows machine and I am trying to install Go whose installer needs admin rights to complete the installation.
Is there any way to install Go on Windows without admin rights?

Can you download the Windows ZIP archive and extract it to somewhere in your User folder?
You would then need to update the GOROOT and PATH environment variables accordingly.

The question is still relevant and the preceding answer is still correct, but the link should be updated to https://go.dev/dl/ to obtain a Windows zip archive and not the msi installer.
It is also worth noting that environment variables may be found and edited by using the search bar to find "Edit the system environment variables" in the control panel.

Related

Inno Setup : how to integrate admin credentials in the installer

I want to create an installer that:
- install a software package
- copy a host file in the user system
without any user installation except launching the installer.
I need this installer to run as admin but I do not want to disclose the admin login/password to users but instead I want to embed it in the installer itself. How can I insert the admin credentials within the installers, please ? Is it even possible ?
I've looked into the forums but did not find what I'm trying to do.
Thank you for your help and support,
Fred
You basically need this:
Make Inno Setup installer request privileges elevation only when needed
(the old code in the second part of my answer with an explicit code for the elevation for Inno Setup 5)
Except that instead of simply re-running the installer with runas verb (which needs entering the Administrator credentials manually), you need this:
Inno Setup run/execute code as another user

Installing a software without admin privileges via Regedit

I want to install an application which is installing in AppData folder. Normally, they do not need admin rights but still my application is asking for permission. This is an Excel Add-In exe file.
I have tried by using a bypass method, by adding a batch file.. All these did not work for this. I can`t change the privileges of a machine and I need to do modification for the setup only.
Now I`m trying to install this via regedit. I want to add a batch file to the setup. Anyone know how to do this?

InstallShield 2012 error code 1925: Requires admin privileges for setup

I'm trying to package and deploy a wpf application. I used install shield and I have created the setup file. When I try running the setup file it keeps throwing this error code
1925: it needs admin privileges to run the setup.
How do I configure the setup file to be run by any user? Should I make any changes in the registry during the creation of setup file in install shield? Is there anyway to work around this problem?
Thanks
It sounds like you're trying to create a per-user installation. Since Windows Vista, this requires several steps, but was made simpler with Windows 7. I would check a verbose log in case it highlights any specific problems, and if not, follow this general advice:
If this is always a per-user installation, set General Information > Require Administrative Privileges to No and set the ALLUSERS property to empty.
If this is only conditionally per-user, leave them as Yes and 1 respectively, and use the MSIINSTALLPERUSER property with ALLUSERS=2 to select a per-user installation at run time. Note that this only works on Windows 7 (MSI 5.0) and later.
Ensure that your setup.exe, if you are using one, does not elevate. Set Required Execution Level to Invoker in the setup.exe tab of the Releases view.
If you are not using MSIINSTALLPERUSER, ensure that you are not installing any resources to any machine locations. This includes installation files to the ProgramFilesFolder, registry keys to HKEY_CLASSES_ROOT or HKEY_LOCAL_MACHINE, or other machine-level items such as Windows Services. Note that you may have to exclude services from MSIINSTALLPERUSER scenarios as well.

WiX Toolset: File extensions registering asking for feature install on different user

I am having trouble with my WiX installation in that I am registering a file extension but because you have to tie every component to a feature, I can't get the feature to install to "All Users"?
Specifically what is happening is I install the MSI under an admin account. The MSI is not located in a shared location that is accessible by all users. The extension appears to register for the other users however when other users click on the file (with the newly registered extension) to open it, it tries to look for the original MSI first to install a feature. If the MSI is found it will open the installed application like normal, otherwise it errors. For the admin account that installed the MSI, it does not ask to install the feature from the MSI (even if I delete the MSI before clicking on a file with that extension)
I have set the installlevel of all the features to "1" and set the TypicalDefault to "install" and InstallDefault to "local". The package is also set to install at the machine level.
Is there something else that needs to be set?
See if this helps: Troubleshooting unwanted self-repairs using the Event Viewer
Basically you need to understand why the repair is happening (which component key path ) and then remediate it. Alternatively you could wrap your MSI with a EXE (WiX Burn) and cache the MSI in a location that users can access if the repair is truly needed.

JDK 1.7 on AIX Operating System

Can somebody tell me how to install JDK 1.7 on AIX operating system?
What I would like to do is install it in a user accessible directory (for example --prefix=/home/raj) instead of the standard system location.
Thanks,
Raj
IBM provides it's own JDK's for AIX and system Z
Take a look here
On the Java download page at IBM (you need to register for free to get there) at the bottom you will find some .bin files. These are self-extracting scripts that let you install Java anywhere you like, under any username.
The installp versions can normally only be used by root user.
LATEST REDISTRIBUTION - .BIN
Latest code
jre764redist.7.0.0.145.bin (108894308)
http://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/SSYKE2_7.0.0/com.ibm.java.aix.71.doc/user/ia_install_attended.html
Completing an attended installation
Install the product from an InstallAnywhere package, in an interactive way.
Before you begin
Check the following conditions before you begin the installation process:
You must have a user ID with root authority.
Procedure
Download the installation package file to a temporary directory.
Change to the temporary directory.
Start the installation process by typing ./package.bin at a shell prompt, where package is the name of the package that you are installing.
Select a language from the list shown in the installer window, then click Next. The list of available languages is based on the locale setting for your system.
Read the license agreement, using the scroll bar to reach the end of the license text. To proceed with the installation you must accept the terms of the license agreement. To accept the terms, select the radio button, then click OK.
Note: You cannot select the radio button to accept the license agreement until you have read to the end of the license text.
You are asked to choose the target directory for the installation. If you do not want to install into the default directory, click Choose to select an alternative directory, by using the browser window. When you have chosen the installation directory, click Next to continue.
You are asked to review the choices that you made. To change your selection, click Previous. If your choices are correct, click Install to proceed with installation.
When the installation process is complete, click Done to finish.
Parent topic: Installing from an InstallAnywhere package

Resources