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 / Compact Framework / December 2006

Tip: Looking for answers? Try searching our database.

Pocket PC Application shortcut

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 25 Oct 2006 02:40 GMT
Hi all,

I managed to get shortcuts added to the start menu, but when I uninstall
the application, these shortcuts are not removed and when I re-install the
application, yet another shortcut is added (a duplicate one).

Please let me know a solution for this problem...
Thanks!
<ctacke/> - 25 Oct 2006 02:51 GMT
How are you adding it?  How are you attempting to remove it?

-Chris

> Hi all,
>
[quoted text clipped - 4 lines]
> Please let me know a solution for this problem...
> Thanks!
Jay - 25 Oct 2006 03:18 GMT
Chris,

     Using VS 2005, I created  a smartdeviceProject and I created a
shortcut to the Primary output. Then added a special folder StartupMenus and
put the shortcut into taht special folder.  When I installed the app using
the instasller, it can see the shortcut.  But when I uninstall, the shortcut
still remains there. Whn I re-install there another shortcut is added. Where
as when I created an msi with in VS2003, when I unistall, it  removes the
short cut.

Thanks!!
-Malathi

> How are you adding it?  How are you attempting to remove it?
>
[quoted text clipped - 8 lines]
> > Please let me know a solution for this problem...
> > Thanks!
<ctacke/> - 25 Oct 2006 04:16 GMT
Can you show the relevent section of the INF file that Studio generates for
this?

-Chris

> Chris,
>
[quoted text clipped - 26 lines]
>> > Please let me know a solution for this problem...
>> > Thanks!
Jay - 25 Oct 2006 14:50 GMT
Chris,

   Here is teh relevant part of the inf folder...

[Files.Common1]
"System.Xml.dll","System.Xml.dll",,0

[Files.Common2]
"SVI.Security.Encryption.EncryptDecrypt.dll","SVI.Security.Encryption.EncryptDecrypt.dll",,0

[Files.Common3]
"System.Windows.Forms.dll","System.Windows.Forms.dll",,0

[Files.Common4]
"System.dll","System.dll",,0

[Files.Common5]
"Microsoft.WindowsCE.Forms.dll","Microsoft.WindowsCE.Forms.dll",,0

[Files.Common6]
"System.Data.dll","System.Data.dll",,0

[Files.Common7]
"System.Web.Services.dll","System.Web.Services.dll",,0

[Files.Common8]
"System.Windows.Forms.DataGrid.dll","System.Windows.Forms.DataGrid.dll",,0

[Files.Common9]
"System.Drawing.dll","System.Drawing.dll",,0

[Files.Common10]
"mscorlib.dll","mscorlib.dll",,0

[Files.Common11]
"SVI.Healthcare.MenuPlus.PDA.PpcHostessApplication.exe","SVI.Healthcare.MenuPlus.PDA.PpcHostessApplication.exe",,0

[Files.Common12]
"SaveFoodOrdersDataSet.xml","SaveFoodOrdersDataSet.xml",,0

[Files.Common13]
"Settings.xml","Settings.xml",,0

[Files.Common14]
"MenuPlusPdaIcon.ico","MenuPlusPdaIcon.ico",,0

[Shortcuts]
"FoodOrders",0,"SVI.Healthcare.MenuPlus.PDA.PpcHostessApplication.exe","%CE17%"

[RegKeys]

> Can you show the relevent section of the INF file that Studio generates for
> this?
[quoted text clipped - 31 lines]
> >> > Please let me know a solution for this problem...
> >> > Thanks!
<ctacke/> - 25 Oct 2006 15:38 GMT
It looks right.  The only thing I can guess is that the installer failug
during the uninstall before it removes the shortcut.  Is the app still
running when you uninstall maybe?

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> Chris,
>
[quoted text clipped - 87 lines]
>> >> > Please let me know a solution for this problem...
>> >> > Thanks!
Jay - 25 Oct 2006 15:51 GMT
Chris,

     Few other people had the same problem it seems.  They posted the same
question and they didn't get any answer.  Luckily, I am getting answers from
you.  Thank you,Chris.
No....the app was not running when I unistalled... and I double checked.
Even if the app was running, I can't get to remove the Application itself.  
When I uninstall the app gets ermoved successfully, but not shortcut.

Thanks!!

> It looks right.  The only thing I can guess is that the installer failug
> during the uninstall before it removes the shortcut.  Is the app still
[quoted text clipped - 91 lines]
> >> >> > Please let me know a solution for this problem...
> >> >> > Thanks!
<ctacke/> - 25 Oct 2006 15:53 GMT
At this point, rather than trying to find out why it's doing this, I'd just
create a 2 line custom installer DLL that deletes the shortcut manually.

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> Chris,
>
[quoted text clipped - 106 lines]
>> >> >> > Please let me know a solution for this problem...
>> >> >> > Thanks!
Jay - 25 Oct 2006 16:05 GMT
Chris,

     I wanted to do the same... could you please provide the sample code...

Thanks!!
Jay

> At this point, rather than trying to find out why it's doing this, I'd just
> create a 2 line custom installer DLL that deletes the shortcut manually.
[quoted text clipped - 109 lines]
> >> >> >> > Please let me know a solution for this problem...
> >> >> >> > Thanks!
R. J. Dunnill - 21 Dec 2006 23:27 GMT
I have this problem, too; would you be so kind as to elaborate on how to
write this "2 line custom installer DLL?"

Thanks, RD

> At this point, rather than trying to find out why it's doing this, I'd
> just create a 2 line custom installer DLL that deletes the shortcut
[quoted text clipped - 113 lines]
>>> >> >> > Please let me know a solution for this problem...
>>> >> >> > Thanks!
<ctacke/> - 22 Dec 2006 02:50 GMT
Here's a base.  Copy and paste it, then add your 2 lines.

-Chris

>I have this problem, too; would you be so kind as to elaborate on how to
>write this "2 line custom installer DLL?"
[quoted text clipped - 121 lines]
>>>> >> >> > Please let me know a solution for this problem...
>>>> >> >> > Thanks!
R. J. Dunnill - 22 Dec 2006 15:54 GMT
?

RD

> Here's a base.  Copy and paste it, then add your 2 lines.
>
[quoted text clipped - 126 lines]
>>>>> >> >> > Please let me know a solution for this problem...
>>>>> >> >> > Thanks!
<ctacke/> - 26 Dec 2006 16:44 GMT
Yeah, the link would help, wouldn't it:

http://www.pocketpcdn.com/articles/setupdll.html

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> ?
>
[quoted text clipped - 132 lines]
>>>>>> >> >> > Please let me know a solution for this problem...
>>>>>> >> >> > Thanks!

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.