ERROR: Failed to load PhotonLicensing.dll - cross-platform

The logfile states that my Photon license has expired or the PhotonLicensing.dll can't be loaded.

Since Photon 3 you don't need a .license file if you are using Photon for free. Just delete any old .license files you still might find in your folders from upgrading etc.:
..\deploy\bin_Win32
..\deploy\bin_Win32_xp
..\deploy\bin_Win64
..\deploy\bin_Win64_xp
If you acquired a license, just copy the .license file into the above mentioned folders (depending on the environment you use).
However there is one edge case: When you unpack your SDK with the Windows Explorer built-in unpack tool your files might get blocked as they are marked as "internet download".
There are to ways to solve the problem:
you unpack with another tool like 7zip or winrar.
or you unblock the zip-file before you unpack with the Explorer built-in zip functionality - right click the “not trusted” zip-file choose “Property” and click unblock.

Related

How to transfer Brave browser extensions between (Mac) computers?

I transfer files between Mac laptops via an external drive (and concomitantly back all my stuff up) as so:
Laptop A > external drive 1 > Laptop B > external drive 1 > Laptop A and so on.
Recently my Brave extensions are deleted upon copying to either laptop, plus, when I open Brave Preferences, I am greeted with the error message "Some settings were reset. Brave detected that some of your settings were corrupted by another program and reset them to their original defaults. Learn more."
A poster on Reddit claimed that Chromium ties extensions to a hardware configuration. Be that as it may, Brave just deletes my extensions. I have tried dragging them manually into ~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default/Extensions from the external drive, but they just disappear before my eyes.
Given my backup software (ChronoSync), I have tried to exclude the folders in Default that appear to hold extension data. So far, I have excluded:
Extension Cookies
Extension Cookies-jour
Extension Rules
Extension Scripts
Extension State
Extensions
Preferences
But my extensions still disappear and Brave still displays the error message.
Is there any other file that I can exclude from backup?

How to install apktool on Win 10?

I have downloaded both apktool_2.1.1.jar & apktool_2.0.0rc4.jar from https://bitbucket.org/iBotPeaches/apktool/downloads and pasted it in C://Windows. Yet when I run apktool in cmd, it returns:
C:\Users\arpit>apktool
'apktool' is not recognized as an internal or external command,
operable program or batch file.
Any help will be appreciated.
->Download Windows wrapper script from here https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/windows/apktool.bat
(Right click, Save Link As apktool.bat)
->Download apktool-2 https://bitbucket.org/iBotPeaches/apktool/downloads
(find newest here)
->Rename downloaded jar to apktool.jar
->Move both files (apktool.jar & apktool.bat) to your System32 directory (Usually C:\Windows\system32)
If you do not have access to C:\Windows\system32, you may place the two files anywhere then add that directory to your Environment Variables System PATH variable.
->Try running apktool with admin previlages via command prompt
Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications. You will find apktool indispensible if you want to extract resources (i.e. images from an Android application. Actually, the tool has no competitors at all!)
An online version of the apktool is available here: www.javadecompilers.com/apktool

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.

Wix Bootstrapper - DownloadUrl - Can it be a local network path?

I want to have my exePackage saved on a network path and for the bootrapper to "download" it from this place if needed.
I cannot get the bootstapper to work with the path. My log says failed to connect to ....
I have tried may different things with the / or \ and with "file" at the beginning. But I cannot seem to get it right. Firefox, Internet Explorer and file explorer all have no problem with this format, however wix will change it in the log. The log show "file://servname..."
DownloadUrl="file://///servname/foldername1/foldername2/folder%20withaspace/myEXE.exe"
What should it be?
EDIT: One work around would be to use the Source attribute and have it pointing to the network path. But my development pc with Visual Studio (M$ version) does not have access to this network share so I cannot use the Name or Source of the exePackage to refer to this file.
Burn supports downloading from BITS, FTP, HTTP, and HTTPS. It doesn't support SMB shares.

IntelliJ-IDEA: Where are settings files saved for v11.x on Windows 7?

When I load/save settings on my PC for IntelliJ-IDEA v11+ Ultimate on Windows 7, it is super slow (seconds). I think the settings are being saved on a network drive (corporate setup), but I want to confirm.
What is the default location on Windows 7 for IntelliJ-IDEA settings files?
How can I change the location of settings files?
UPDATE
I checked my idea.properties file here: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.5\bin\idea.properties. I see this entry (commented-out):
# idea.config.path=${user.home}/.IntelliJIdea/config
My insane corporate setup has Java's user.home mapped to \\UBSPROD.MSAD.UBS.NET\UserData\arpeke\RF. There, I found the folder named .IntelliJIdea with my settings.
IntelliJ saves its config and indexes, which can amount to several gigs worth of data, to your home directory. It's been that way for approximately "a long time". In my experience, if you have default network mounts, your home dir will be set to one of those, so that's very likely your problem. Edit <idea dir>/bin/idea.properties to change the location where it saves stuff. There will be a handful of properties to change because it calls things out individually rather than having one, overall directory.
Props to Ryan for the hint I needed. Posting a detailed answer here, because I could not find the answer anywhere else on the Net.
Discover your Java's user.home System property settings.
See this Q&A: On Windows 7, how does Java JVM set "user.home" System property?
Or, try in an Java IDE: System.out.println(System.getProperty("user.home"));
You may surprised by its value!
Let us suppose it is C:\Users\user123
There, you will find a folder named .IntelliJIdea, and sub-folder within named config.
If the .IntelliJIdea folder is stored on a network drive, you may find IntelliJ performance less than ideal.
Modify your idea.properties file. Possible full path: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.5\bin\idea.properties
Modify options for config, system, plugins, and logs. Example: idea.config.path=${user.home}/.IntelliJIdea/config => idea.config.path=c:/local/path/.IntelliJIdea/config
Update
Official Knowledge Base article from JetBrains: http://intellij-support.jetbrains.com/entries/23348963