-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Permission error after installing 64bit setup for all users on Windows Server 2022 #58
Comments
Thank you for filing this issue! Do you mean with "64bit setup" the MSI package? Because with this, I could reproduce this issue. The EXE package works fine by storing the user data under "C:\Users<user>\AppData\Roaming\mdview" as it should when installed via a setup package. This will be fixed with the next release. |
Thanks für the quick reply. Yes I used the 64bit msi installer.
…On Wed, Dec 4, 2024 at 5:20 PM Christian Dreier ***@***.***> wrote:
Thank you for filing this issue!
Do you mean with "64bit setup" the MSI package? Because with this, I could
reproduce this issue. The EXE package works fine by storing the user data
under "C:\Users<user>\AppData\Roaming\mdview" as it should when installed
via a setup package.
This will be fixed with the next release.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJK6GT4PP6GGLILGRHBU4EL2D4TVXAVCNFSM6AAAAABS7IPI5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXHEYTSOBYGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Oh, I just installed the MSI package and obviously got hit by the same issue. There are (dead?) processes in the task manager, but no window is coming up. Also no warning or error on command line. EDITH: Maybe you should remove the MSI from the release page or add a warning...? |
I try to fix this bug this week. Do you still think, a warning for these packages is necessary? |
Well, the software obviously doesnt work at all with the MSI 😁 so it is a class A bug because core functionality is not available |
This fixes issue #58 If the application doesn't run from a usual installation path, it is assumed that it is a portable instance. No extra steps during the installation process needed! Following environment variables are used: - ProgramFiles: usual global path for 64 bits applications - LOCALAPPDATA: usual user local path for applications
I released version 3.2.0 which should now also run properly after installing it globally via the MSI package. |
Obviously the program is trying to write into C:\Program Files
C:\Users\adm>"C:\Program Files\mdview\mdview.exe"
C:\Users\adm>
[ 'C:\Program Files\mdview\mdview.exe' ]
{
filePath: 'C:\Program Files\mdview\resources\app.asar\README.md',
internalTarget: undefined,
isTest: false,
storageDir: 'C:\Program Files\mdview\.data\storage'
}
(node:11040) UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted, mkdir 'C:\Program Files\mdview.data\storage'
at mkdirSync (node:fs:1380:26)
at t.mkdirSync (node:electron/js2c/node_init:2:12926)
at StorageBase._initStorageDir (C:\Program Files\mdview\resources\app.asar\app\lib\main\storage.js:51:12)
at new StorageBase (C:\Program Files\mdview\resources\app.asar\app\lib\main\storage.js:28:21)
at new ApplicationSettings (C:\Program Files\mdview\resources\app.asar\app\lib\main\storage.js:66:1)
at Object.loadApplicationSettings (C:\Program Files\mdview\resources\app.asar\app\lib\main\storage.js:344:33)
at C:\Program Files\mdview\resources\app.asar\app\main.js:428:36
(Use
mdview --trace-warnings ...
to show where the warning was created)(node:11040) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)after creating the .data folder and giving full control on the folder .data and resources the program is working
The text was updated successfully, but these errors were encountered: