MSIEXEC uninstall application using GUID with GUI wizard, but no user interaction - guid

i know how to uninstall MSI package using msiexec by guid:
msiexec /i {ProductCode}
This brings up the uninstall wizard of the application and the user has to click next next next.....finish. i want the uninstall wizard to be shown as normal, but the user should not click next next next on the wizard.... instead, the application should be uninstalled automatically, with GUI wizard, but no user interaction. the wizard should also close automatically after uninstall.

msiexec /I {ProductCode} won't initiate an uninstall, it will initiate a maintenance installation transaction (change, repair, remove)
You likely want msiexec /x {ProductCode} /qb

Related

How can I open edumips.jar?

I want to run edumips.jar. Whenever I try to open, Java control panel is opened.
When I execute:
strong text
It is first time to download java and excecute .jar file.
What I want:
Please tell me what I'm doing wrong...
UPDATE: there is now an MSI installer for EduMIPS64 which allows you to install and run the simulator without worrying about installing a JRE and configuring it: https://github.com/EduMIPS64/edumips64/releases/download/v1.2.8/EduMIPS64-1.2.8.msi (version 1.2.8 was released at the time of updating this answer, there might be more recent ones).
You need to make sure the Java runtime is associated with the .jar extension to open it with double-click.
To open it once, try right-clicking on the JAR file select Open With... and find the Java runtime binary (it's "OpenJDK Platform Binary" on my Windows machine).
You may also be able to fix this by re-installing the Java Runtime (JRE): usually installers associate .jar files to the Java binary automatically.
Worst case, if Java is installed and the PATH is set up correctly, you can run it from the command line by using the command java -jar edumips64-1.2.6-standalone.jar.
To open the command line, press Win+x and choose Windows PowerShell. Your JAR might be in the Downloads directory so try java -jar Downloads\edumips64-1.2.6-standalone.jar.

Unable to add the git url to connect project in Rstudio with git repository

Im trying to connect an existing project in R studio with an external git repository. I have installed it and verified that there is communication between this and rstudio. Then I
Execute the Project Options command (from the Project menu)
Choose Version Control options
Change the version control system from (None) to Git
Confirm that you wish to initialize a new Git repository
but I cannot put inside the git url as the relative input (Origin) cannot be clicked. Anybody has the same issue? I am following this tutorial.

Dotnet restore hook script?

Is there a way to run a custom script when my NuGet package is restored by dotnet restore command (or if this happens as a part of dotnet build)?
I want to copy a file to the user's home dir if it's not yet there.
Basically, I want to replicate an NPM install hook with .NET Core's NuGet.

Add-Migration error: Startup project 'MyProject' has an active platform of ''

When I run the commands "Add-Migration" or "Update-Database" with the package manager console in Visual Studio 2017 (Enterprise) I get this error:
Startup project 'MyProject' has an active platform of ''. Select a different platform and try again.
I tried running as admin and reinstalling packages.
My project is an ASP.NET project.
Right click on solution root.
Go to properties.
Under 'Startup Project' Select 'Single startup project' and pick one of your projects.
Rebuild the solution.
Run Add-Migration again.

Git push failure (Github/RStudio)

I've used Git successfully on this machine in the past but suddenly I can no longer push my commits to the Github repo. The last change to the Git toolchain that I made was to install Git 1.8.5.2, in addition to the Github for Windows client. RStudio could not find Git unless I'd already started the Github client so I decided to simply install a stand-alone Git client and change the RStudio Git path.
Error message (RStudio):
error: cannot spawn rpostback-askpass: No such file or directory
fatal: could not read Username for 'https://github.com': No such file or directory
Troubleshooting:
I can commit all projects.
I can pull new projects.
I cannot push any projects, I receive the same error message every time.
I cannot push with Github or RStudio.
Reinstalling /uninstalling Git / Github does not resolve the issue.
Setup:
This is an R project, with RStudio as my IDE / Git GUI.
I'm using Git 1.8.5.2 for Windows 7.
Let me know if there's any more information that you need.
Update 1:
Git GUI tells me that:
Error: hook execution requires sh (not in PATH).
Let's see if I can fix that...
Found something that might help from here: https://github.com/STAT545-UBC/Discussion/issues/93
in RStudio, click on the "Tools" menu and select "Shell"
Run the following command: git push -u origin master
it might ask you for your git username and password. Supply this information, make sure it is correct
hopefully the push is successful, then you can close the window
Now make some more edits to some file so that you have new content to push
click on the "push" button in RStudio and this time the push should work
Found a different suggested solution here: https://github.com/OHI-Science/ohicore/issues/104
git config --global credential.helper osxkeychain

Resources