In a follow-up to my previous question which works brilliantly from a compiled application and as a citrix published app, I'm trying to do the same thing from a desktop icon as a shortcut which runs a bat file such as the following command:
"C:\Program Files (x86)\FileMaker\FileMaker Pro 13 Advanced\FileMaker Pro Advanced.exe" fmp:\aci-fms-02\BuildTrac
however when this runs, I am getting the following strange message:
Open Multiple Files
choice 1: Open all files and convert when necessary.
choice 2: Only open current Filemaker Pro files (no conversion)
save converted files in (defaulting to p:/)
I select choice 2 and I'm left with a blank Filemaker menu with no open databases.
It would probably be easier to create a new internet shortcut in Windows (http://www.7tutorials.com/how-create-shortcuts) and use the URL fmp://aci-fms-02/BuildTrac instead of trying to launch it via the client. FileMaker Pro registers to handle the fmp:// protocol, so anything calling an fmp:// URL will automatically launch FileMaker Pro for you.
Option 1 - correct syntax is:
"C:\Program Files (x86)\FileMaker\FileMaker Pro 13 Advanced\FileMaker Pro Advanced.exe" fmp://aci-fms-02/BuildTrac
or
"C:\Program Files (x86)\FileMaker\FileMaker Pro 13 Advanced\FileMaker Pro Advanced.exe" "fmp://aci-fms-02/BuildTrac.fmp12"
Option 2 - make a local opener file that lives on clients desktop. It's sole purpose is to open the remote file.
Related
I'm struggling to find any method that works with current Unity.
This for a conventional Windows build (not a Windows Universal via VS).
So, there's the separate data, dll, etc files of a build: how to create a civilian-usable "single exe" for Windows, with current Unity??
As said afaik this was actually always the case.
See e.g. Windows standalone Player build binaries to see a list of resulting output of a build. It exists back until version 2017.2.
So the short answer is:
It is how it is. You will always get multiple files and the data folder as output.
What you can do however is using a pack tool which simply packs all your folder content into one single exe file.
One example is Appacker
=>
BUT unfortunately there is one known issue: Windows Defender recognizes it and every exe created with it as malware. The reason for that is actually mentioned by the author in the link
Spoiler: A self-extracting .exe file? Windows Defender hates that trick!
So either with this tool or any similar one there is no real way around that except you need to trust the tool and your users need to trust you ^^
(The icon is also only used for the process window, not for the exe file itself ^^)
The long and correct way would probably be to create an actual installer for your final app which is then allowed to extract all the files to a certain location.
So in the end the user anyway will again have an exe and according data and dll files e.g. in the Programs folder but get a registered shortcut to the Start Menu which is just how any other application on Windows usually works like.
Just to add to the answer.
In 2020 if it's a game you should just use Steam. Making auto-update way easier for your users.
https://partner.steamgames.com/doc/gettingstarted
I am in the process of updating our currently existing Chrome distribution so that when a user downloads a .pdf file, the file is opened automatically.
As a first step, I was able to prevent Chrome from opening the pdf in its internal pdf viewer and could do a registry entry by using AlwaysOpenPdfExternally. This way it was downloading the file immediately and not opening it in the Chrome viewer.
I'd like to use Adobe to view the file automatically after download.
Unfortunately I was not able to find a registry entry. Nor was I able to find a GPO entry to be changed for Chrome.
I had found the following PowerShell script to be started upon logon of the user. However, testing it did not give me the result I was looking for.
The given entry extensions_to_open was not existing even after starting the script.
The current version of Chrome used is 66.255.
I would be happy for any help.
Edit: I am able to get the file to be opened automatically by inserting the given line here:
Is there any way to programatically force "Always open files of this type" for a specific file type in Chrome?
however, I am unsure of how to distribute the line of code into every PC in my network.
Edit: Chrome offers Group Policy Templates which should be importet into the active directory of your Windows Server. Once imported into your GPO, Chrome offers the setting: "Always open Pdf files externally". Once you check this feature, file should not automatically open in the internal PDF viewer.
See second edit: import the latest group policy templates into the GPO (will be stored on the active directory). After that, go into the GPO policies for "Google Chrome" and check the feature "Always open PDF files externally".
Is there a way to load a Windows Phone Application into the Windows Phone emulator via the command line? I would like to be able to run Jeff Wilcox's test runner during an automated build. Something along the lines of
"C:\Program Files (x86)\Microsoft XDE\1.0\XDE.exe" "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Emulation\Images\WM70C1.bin" /project:"path/to/project.xap"
would be the best scenario (the /project parameter doesn't actually exist to my knowledge). The primary issue is not deploying the XAP to the emulator (that's possible via XapDeploy.exe), but rather opening it through the command line.
Justin Angel had a post about directly automating, I believe this is all quite unsupported but might be useful: http://justinangel.net/#BlogPost=WindowsPhone7EmulatorAutomation
Justin changed the link structure of his page.
New link (if you are too lazy to use the search):
http://justinangel.net/WindowsPhone7EmulatorAutomation
It looks like there is now a developer tool installed automatically called XapDeploy, I'm curious if it supports any command-line options.
I've written an HTA file frontend for our web app that allows the web app to run without web browser status bars etc, and allows it to access the local system for certain tasks.
I need a way to deploy this to customers. I need an installer to supply an hta file, an ico file, and add a link to them in the start menu and on the users desktop. I looked at building an installer with NSIS, but I couldn't figure out how to assign the icon to the shortcuts - The icon had to be a standard HTA one.
Can this be done with NSIS, or should I be using another installer?
P.s. I've got no particular preference for NSIS, it's just something I once used a very long time ago. When I download stuff, I think I prefer them to be msi files that launch with windows installer (it feels more like downloading a .rpm or .deb on linux which I am used to) but I know nothing about how those are created. I'm a web/linux guy who knows very little about windows programming.
Check out the NSIS Scripting Reference for CreateShortcut. You should be able to do something like this:
SetOutPath $DESKTOP
CreateShortcut "$DESKTOP\MyShortcut.lnk" "$INSTDIR\MyHTAFile.hta" "" "$INSTDIR\MyIconFile.ico"
I have developed a Windows CE 4.2 Application in VS 2003. When i deploy the CAB file in the device having X86 has its processor, a short cut for the application is created in Start >> Program >> Application. But I want a short cut for the application on the
desktop.
I modified the INF file to add a new shortcut that points to the desktop folder inside windows folder but it didn't work. Also, If i replace the default shortcut created when I build the CAB file with the location of desktop it still creates a short cut in the Programs and not on the desktop.
Does anyone has a solution for this ?
I would check out the link: http://msdn.microsoft.com/en-us/library/ms938387.aspx
That should get you well on your way. Basically shortcuts in CE are just ASCII files of the format:
21#\Windows\solitare.exe
Where 21# is the number of characters in that path. Here's another link to MSDN with more info on that: http://msdn.microsoft.com/en-us/embedded/aa731295.aspx
Hope that helps!
After modifying the INF file, how did you regenrate the CAB? You must not use the menu item in Studio (can't recall if '03 had that option) as it will overwrite your INF.
If you're manually generating the CAB with CABWIZ, then show us your INF file, as you likely have something wrong there.