Pocket PC Application shortcut

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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
 
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]
 
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?


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


Jay said:
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?

-Chris
 
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
running when you uninstall maybe?


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


Jay said:
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?

-Chris


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?

-Chris

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!
 
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.

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



Jay said:
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
running when you uninstall maybe?


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


Jay said:
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?

-Chris


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?

-Chris

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!
 
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.

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



Jay said:
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
running when you uninstall maybe?


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


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?

-Chris


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?

-Chris

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!
 
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
manually.

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



Jay said:
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
running when you uninstall maybe?


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


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?

-Chris


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?

-Chris

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!
 
Here's a base. Copy and paste it, then add your 2 lines.

-Chris


R. J. Dunnill said:
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
manually.

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



Jay said:
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
running when you uninstall maybe?


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


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?

-Chris


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?

-Chris

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!
 
?

RD

Here's a base. Copy and paste it, then add your 2 lines.

-Chris


R. J. Dunnill said:
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
manually.

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




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
running when you uninstall maybe?


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


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?

-Chris


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?

-Chris

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!
 
Yeah, the link would help, wouldn't it:

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


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


R. J. Dunnill said:
?

RD

Here's a base. Copy and paste it, then add your 2 lines.

-Chris


R. J. Dunnill said:
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
manually.

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




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
running when you uninstall maybe?


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


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?

-Chris


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?

-Chris

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!
 
Back
Top