Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Odd shortcut problem with my app using a VS2005 deployment project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WayneM - 21 Jun 2007 19:07 GMT
I have my deployment project in VS2005 for my executable I'm making an
install for.
The install seems to build fine and installs without a problem.

The odd problem is that the shortcuts created for the exe work fine the
first time, but then the second time I try it - it pops up a dialog box for a
number of seconds (similar to if it was installing something).

So I thought perhaps it was ExeShield or something wrong with the executable
- but if I create a shortcut to my foo.exe it starts up fine each and every
time I run it. But no matter how many times I try to VS created shortcuts it
always has a delay with this pop-up look akin to an install window.

1. I created a fold underneath the Program Files folder named "foo" (so I am
not using the Application Folder)
2. I create a Foo folder under the User's Programs Menu
3. I put my files into the foo folder
4. I create shortcuts to foo.exe, drag them to the User Desktop & my Foo
folder under the User's Program Menu
5. The only thing I change for the shortcuts are blank (so the arguments and
the description is blank). The Target and WorkingFolder seem fine.
6. I did mark folders as AlwaysCreate since I read somewhere I need to do
that if making a shortcut (so I marked: Program Files Folder and my Foo
folder under that, the User's Desktop, the User's Programs Menu and my Foo
folder under that).

So if I look at the shortcut it creates:
the Target type is Application,
the Target location is blank,
the Target just says Foo,
the Start In is the correct C:\program files\foo

So I don't understand the shortcut why I cannot change the target or target
location, but it seems to work fine the first time.
It also works all subsequent times, it just pops up that slow & annoying
window for several seconds.
Also if I manually make a shortcut to foo.exe it works fine every time, it
is just these shortcuts made by the deployment project that seem to give me a
problem.

Has anybody heard of this?

All I am doing is in my deployment project right click on the
WayneM - 21 Jun 2007 21:56 GMT
Mission abort - mission abort!

Sorry - it turns out that I had a temporary file in the directory that
caused the issue depending on the shortcut.
I don't fully understand what the problem was - but getting rid of the temp
file resolved the problem.

> I have my deployment project in VS2005 for my executable I'm making an
> install for.
[quoted text clipped - 39 lines]
>
> All I am doing is in my deployment project right click on the
Amrit - 29 Jun 2007 18:20 GMT
Hello Wayne,

I am facing same problem here. Can you please guide how you managed to
resolve it? It is really annoying.

Thanks in advance

Amritpal

> Mission abort - mission abort!
>
[quoted text clipped - 46 lines]
> >
> > All I am doing is in my deployment project right click on the
WayneM - 10 Jul 2007 15:54 GMT
Hello Amrit,
Sorry for the delay - I was on vacation.

If I recall I'm not sure why I had the problem in the first place.
Originally I had created a folder under "Program Files Folder" for my
application but when I moved everything in the setup project to be under the
"Application Folder" the problem went away.

> Hello Wayne,
>
[quoted text clipped - 55 lines]
> > >
> > > All I am doing is in my deployment project right click on the

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.