Link to home
Create AccountLog in
Avatar of Andy Brown
Andy BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Publishing a .net application / Cannot locate Applicatiion.exe file after install using 2017 Community edition

I am trying to deploy an application that is basically a restricted web-browser that I have created within c# using the superb CefSharp libraries.  However, I need to call this application from a command line prompt, adding a switch at the end to take the user to the correct page - for example:

C:\ProgramFiles\TSB\NewBrowswer.exe www.website.com

After using the "Publish" function, and creating the setup.exe file.  I install it, it runs automatically and pops a shortcut into the Start menu.  Whilst this is fine, it won't run correctly unless I issue the website switch at the end (this will ultimately be done through another application).

Ultimately, I need to see a .exe file and control where the Setup.exe file is putting it.

I'm pretty new to c# - so any help would be greatly appreciated.
Avatar of it_saige
it_saige
Flag of United States of America image

You could look at the properties of your shortcut to see if this indicates where the binaries have been placed, otherwise, you are going to need to provide us with the settings you used when you *Published* the application.

-saige-
Avatar of Andy Brown

ASKER

Thank you for coming back to me so quickly.

The properties, don't give me that information (I went through all of the tabs).  As for the *Published* settings, I simply used the default, 'Publish' settings, under the Build menu item, within the 2017 Community edition.

Sorry - I'm pretty new to c#, so if I'm not making sense........well, it's me...
You are fine...  Give me a second to whip up a hello world...

-saige-
Thank you -saige-
When you went to the Publish Wizard, through the Build Menu Item, what was the path that you placed in the location?User generated image
-saige-
Second question, which option did you choose for the How will users install the application dialog?User generated image-saige-
Location to publish: D:\Database\TSBrowser Installation\
From a CD-ROM
It's not checking for updates
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Got it..... easy when you know how (but I should have found that).

Thank you so much for helping out.