I'm creating an installation program for my VB.NET application; after install my application I get the icon on my desktop with the right icon image and open the right application but when I right click on the shortcut --> Properties the "Open location" button is grayed out.
There's a way to create a regular shortcut with all the buttons enabled?
Second, my application is being installed inside Program Files(x86)\Microsoft\MyApp, there's a way to specify a directory outside program files?
I need to write log files and that directory needs that the application runs as Administrator to do that.
I created the installer by adding an Assisted Installation project to my application project.
I tried by using MyAppSetup.exe and the msi package too with the same results.
Related
How do I find the EXEs and DLLs of a Windows Store App? The target seems to be very odd in the shortcuts on the desktop, and I can't look at them more because these are virtual files. The target seems to be a package ID, followed by an exclamation point, followed by a keyword. Where can I find the files for these apps?
Go to %programfiles%, make sure hidden folders are enabled, then try to access the WindowsApps folder. If it gives a pop up saying you don't have access, click the "Security" button then "Advanced" then change the owner to "Administrators" and click Apply and then just press okay on everything.
I've programmed a app via visual basic .Net and after made an installation file via Advanced Installer
But both my app's icon and name aren't available .
I mean after installation my app appear in desktop with "Windows Application" and no icon so
What can I do to solve this?
Please help
You need to set the name of your shortcut and its icon from Advanced Installer, as indicated in the tutorial I linked.
After this rebuild the installer and re-install it.
I'm building an application in vb.net/visual studio 2012. When I publish my application, the .exe file and some other files are uploaded to a server.
Publishing my application also generates a .application file. I can use this file to search for updates on my server and to automatically open the latest version of my application.
I want to change the icon of this file to the icon of my .exe file, but I don't know how. Is there any way of changing the icon of this file?
follow these steps:
Right click on the application name in the solution explorer
Select properties
Now you can see
now select Application---> change default icon to <..Browse..>
it will opens a new window from their you can browse apropriate .ico file and then publish the application
It turns out that the icon of the .application file, is not set by visual studio. It is the icon of the application that opens .application files: ClickOnce Application Deployment Support Library.
If I change the icon of that application, it will only change on my own pc and it will change the icon of all my .application files to the same one. So I think there is no solution.
Thanks anyway!
Using Visual Studio 2012, I manage to publish a Winforms application and install it successfully on other machines, making it work nicely. Although, there are a few small details that I want to change.
The published application goes into the Start Menu inside a folder named after me. I suppose it's taking my Windows user name, I don't set it anywhere, it just happens by default. I wish I could define that.
(EDIT)
I solved the above issue: Project properties > "Publish tab" > Options and set the Publisher name: this is the name of the folder
(end edit)
When I look for the program in Control Panel > Programs and Features, it has a weird default icon instead of the one I defined (which appears correctly on the Start Menu)
So, how to set my icon on the Programs and Features as well?
(EDIT) -
I'm using ClickOnce apparently (thanks to #Crono)
Thanks
For changing application icon in Programs and Features, this answer might help you: Custom icon for ClickOnce application in 'Add or Remove Programs'
The trick is in adding a registry string value DisplayIcon pointing to the icon file. The value is located under Uninstall registry key of your application.
I have a WIX project that is creating an MSI to install an Excel VSTO application, including desktop shortcuts to launch the application. The installation and shortcut creation is working fine. But I need to be able to launch the application by executing the shortcut after the installation has completed. I've seen guides on how to launch an executable, but nothing for a shortcut. Is there some way of doing this that I'm missing?
Thanks!
How is launching shortcut different from launching the executable? I mean the shortcut points to an executable plus maybe some command line arguments. The result is a running application anyway, then why bothering?