How to resolve Notepad++ "Writing error summary to C:\Program Files(x86)\ ...\HTMLTIDY.ERR" on Vista? - permissions

How to resolve Notepad++ "Writing error summary to C:\Program Files(x86)\ ...\HTMLTIDY.ERR" on Vista pc?
I have the latest version of notepad++ (just updated it two days ago).
When I try to run TextFX htmltidy, I get the above error reported by windows vista.
I've set permissions on the file htmltidy.err to allow everyone to modify/read/write/etc.
I do not understand file permissions in Win Visa.
2nd issue: I also have to click 'Allow' whenever I click to launch notepad++ even though I granted the program exe admin rights. UAC says it is an unidentified program.
Do I need to reboot to make these changes effective? What am I missing?

This is not an error, simply a message:
Any errors found in the HTML codes are being written to this file.
For example:
line 1 column 1 - Warning: missing declaration

This is a Windows 7 restriction. Programs should not write into Program Files folder. Instead it should use a temporary folder like %TEMP% or/and %APPDATA%.
Another possible solution is to install Notepad++ outside Program Files folder, in that way you can hanle file and folder permissions by yourself.

Related

SvcTraceViewer Tool

Where can I get the SvcTraceViewer Tool please?
I tried downloading and installing many SDKs.
I've looked in the bins of the Program Files.
I need it to trace whats going wrong with my WCF call.
You can get it by downloading the Windows SDK. The latest one can be found at https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk/, but if the link doesn't work, searching for "Download Windows SDK" should take you to the correct link.
When you install it, it may be added to the path variable. If not, you can search under the 'Microsoft SDKs' folder under 'Program Files (x86)'. For example, in my machine, it is found at C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools.
I'm on Windows 10 and this works for me:
Use a search engine on "Win 7 SDK ISO", to get a Microsoft site result, such as this one:
https://www.microsoft.com/en-us/download/details.aspx?id=8442
You may need to click into the site's 'Archives' section.
Then download the ISO, such as:
GRMSDK_EN_DVD.ISO
Right click the ISO file to Mount it to a local drive (such as your I drive), then double click this file to open it:
I:\Setup\WinSDKNetFx40Tools\cab1.cab
Scroll down to find this file in the cab:
FL_SvcTraceViewer_exe_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8
And right click to Extract it somewhere like your Documents folder.
Rename the file to SvcTraceViewer.exe and launch it.

Delete files from hidden folder during uninstall (WiX, Pyinstaller)

I would like to delete file (that was created by pyinstaller in C:\Users\User\AppData\Local\VirtualStore\Program Files (x86)\App\tmp )
during Uninstall (using WiX). Any idea on how to do that?
Does anybody know why pyinstaller creates that file and if I can control that?
A partial answer: That virtual store location is where Windows redirects file output when the program is not privileged enough to write to a location, and does not have an elevation-type manifest that shows it is UAC-aware. This might help:
http://sourcedaddy.com/windows-7/uac-virtualization.html
So it appears that pyinstaller assumes it is being run as administrator, but it isn't, and is writing to a location that's virtualised. Instead of trying to remove those files I'd look at that installer and how you are running it and (since it seems to require admin privilege) how to have it run with admin privilege. I assume it's old technology because an updated version would presumably include an elevation manifest saying that it requires admin privilege.

How to access file with unacceptable file name

I don't know is this site a good place to ask this question... A long time ago, my operating system was linux. On linux I made a file with name \/:*?"<>|. Then I installed windows instead of linux, but now I cannot access or delete this file. I tried to delete it using Unlocker, ProceXP, Command Prompt and many other programs, but I couldn't. Also, I tried all commands in Command Prompt which can be used for deleting undeletable files, but this file is still here. If I try to rename it, process explorer.exe crashes. Then I installed linux again and this file become accessable.
Now I have windows and another file with name \/:*?"<>|. Is it possible to access this file without installing linux? Is there a way to access place on filesystem where this file name is stored and manualy change it to any acceptable file name? If yes, can you explain which program is best for it?
Try using DeleteDoctor. I've used it under similar situations as yours with great success. You can download a copy here:
http://www.download25.com/delete-doctor-download.html

no response when execute .sh file by double click on fedora20

Today,I installed fedora20 on my computer and then downloaded the Intellij idea13, but when I execute the file by double clicking, there is no response. But it works well in a terminal with ./idea.sh.
Thanks, I need your help!
I'm not a fedora user but the following may help you to understand the problem.
When you double-click an item from the file manager, the default application for that type of file is loaded.
That depends on the configuration for the specific MIME type (which is application/x-sh).
There's a big chance that the default application for .sh files is set to gedit or kwrite depending on the desktop environment. The Intellij Idea installer is binary file and maybe the application is failing to load.
Have you tried right-clicking the file and select the option 'Open in Terminal'? The context menu may also show something like Execute or Launch.

Wix installer could not remove installation folder

I have a Wix installer which is designed to install (uninstall) a Windows service and another .exe file. When I uninstall the software using this installer, and enabling extra log, I see some error messages about unable to remove my installation folder, although it is indeed empty. The first message that appears on the log is like this:
DEBUG: Error 2911: Could not remove the folder MY_INSTALLATION_FOLDER.
The following errors are all about the same problem. My first guess is of course that there are some resources that were being used during the uninstallation. However, like I mentioned, all components in this folder were indeed removed and this is an empty folder by now. Also, this error is the first error in the log, meaning there was no error prior to removing this folder. For example, from the log I can see a series of FileRemove actions were taken right prior to the folder removal and they all succeeded. So it's gotta be that this folder itself was being used. But I really can't figure out why and what is holding this folder. By the way the software was indeed uninstalled since the final product removal returns 0 and every thing related to our software was removed (Windows service list, shortcuts, registries...) excepted this empty folder. It is not crucial but we definitely don't want to hear from our customer asking about this kind of error anyway(they are using auto-installation and the log is by default enabled and checked)
Please help. Thanks!
Possible causes:
Other process is locking that folder. Use Unlocker to
verify if that's the case.
Some folders have restricted permissions
by Windows (e.g. C:\Windows\system32). Generally, you should avoid creating files under Windows own folders (unless it's required, I.e.: your'e installing a device driver).
Did you properly set folder permissions?