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.
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
So here is the situation. I want to bundle Google Chrome Portable by itself. The only modification I would make is to change the default homepage, and add a shortcut link to the desktop. I also can't use the included Google Chrome installer because I would need to change the default homepage.
What should I use to make a simple installer that just unzip the Google Chrome folder into programs and create the shortcut on desktop? I don't need anything fancy like program registration or anything like that, in fact, most of my clients probably will not have installation rights on there computer.
Now my project is in Visual Studio 2008, but I am willing to use any other type of packager.
You can also try the free version of Advanced Installer, i.e. by creating a "Simple" project. There is also a five-minutes tutorial on how to create the package
I went with the WinRar SFX Archive File, with auto-run after it finishes.
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 am developing a add-in for outlook using VS2008, C#.
I am trying to figure out a way to allow user to specify some settings during the installation and use them in the add-in.
seeking ways I don't have to write use registry.
thanks in advance~
Thanks,
I actually decided to read the outlook addins registry for the installed location and have configuration file copied there during installation. so far it works fine :)
app.config, and make sure that it's copied to dll directory?
Its an Addin, so how exactly is
app.config, and make sure that it's
copied to dll directory?
going to help?
Basically you would need to create a file called Outlook.exe.config and put it in the Office12 folder with Outlook.exe (c:\Program Files\Microsoft Office\Office12)
If you do this it will get loaded, the only potential issue is that it is also available to any other addins that are loaded into the outlook.exe process.
A better idea is just as the OP suggested an use an arbitary config file copied to the targetdir and read it from there.
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.