Post Reply 
Minim watch won’t install win 64bit
10-07-2020, 14:20
Post: #8
RE: Minim watch won’t install win 64bit
(06-07-2020 12:01)simoncn Wrote:  Thanks for letting me know about the problem with Microsoft. I am not sure how to solve this. What version of Windows are you using?

There was a recent article in the register about Windows' efforts to block unsigned installers https://www.theregister.com/2020/06/05/w...artscreen/

Interestingly when I tried to test this on Windows 10 Home 1903, I downloaded the MinimWatch installer with Microsoft Edge and it installed with no warnings. There are two reasons for this:

1. I looked at the file properties in Explorer before I ran the program, and unBlocked the file.
2. My account doesn't have administrative rights.

The installer runs an elevation prompt if it thinks you are an administrator, if you accept this, Windows will warn that the installer is unsigned. I didn't go any further than this. If you aren't an administrator, then a per-user install is done.

I don't think that there is an option to tell the installer not ask for elevation, and if you reject the elevation the installer closes. Some installers which generate their own elevation requests will carry on, so this is technically possible, but I don't know that Inno setup has a simple option for this.

Although I would always advocate having a separate administrative account on Windows and not logging on with it, I know that most people stick to Microsoft's automatic one administrative account setup. The workaround of logging in to a different administrative account to remove your admin rights is a bit painful.

As MinimWatch downloads more jar files the first time it runs, which it stores in the users profile, the merits of a system wide install are very limited, so I would suggest providing an installer that only performs per-user installs.

One other point: When you see an error message such as the one mentioned above, you can copy the text to the clipboard using Ctrl-C. the results would look like this:

---------------------------
Setup
---------------------------
Unable to execute file:

C:\Users\mike\AppData\Roaming\MinimWatch\lib\mwatch.jar



ShellExecuteEx failed; code 1155.

No application is associated with the specified file for this operation.
---------------------------
OK
---------------------------

(I get this because I don't have a Java runtime installation registered)

Mike
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Minim watch won’t install win 64bit - skeptic Mike - 10-07-2020 14:20

Forum Jump:


User(s) browsing this thread: 1 Guest(s)