How to add an icon to the programs group

E

egholm

Hey

Do you know how to add an icon to the programs group on a pocket pc
running windows 2003?

I'm using Visual Studio.NET 2005 (and CF 2.0). My solution have the
following projects:
- CustomInstaller
- Device Application
- Smart Device CAB project
- Setup project

I want the Setup Project to add the icon to the programs group on the
device. How to?
 
E

egholm

I'm not sure what you mean.
In my Setup project I have made a shortcut from the Built output from
the Smart Device CAB project. The shortcut is placed in here:
File System on Target Machine/Application folder

How do I tell my shortcut to be installed in Windows\Programs?

When I select properties for my shortcut, I can set a target folder.
But I can only choose from these folders:
- Application folder
- System folder
- Users Desktop
- Users Program folder
 
G

Guest

Add the new folder in the folders view. Create your shortcut anywhere, then
drag it to the desired target folder. The UI isn't very intuitive on this.

-Chris
 
E

egholm

I have created a new folder called User's Program Folder and dropped my
shortcut into this folder. When I run the installation, my shortcut is
installed correctly on my desktop, but the shortcut is not installed on
my pocket pc. How is that?

By the way, thanks for you help.
 
D

David D Webb

In the Smart Device CAB project, go to the File System view, right click the
left (file system) pane,
Add Special Folder -> Programs Folder
Click on Programs Folder, right click on right (file system) pane, Create
new shortcut, dbl-click Programs Folder, click Add Output button, then
select Primary Output.

Not sure if this is the best way, but it works.

-Dave
 
G

Guest

Basically you create a CAB project, inside it you'll have a few different
views - I reach then by using icons at the top of the project browser
window. One is a "file view" of the target device. You create the folder
in there then drag the shortcut to it. The behavior you're describing
sounds like you put it in the MSI project, which would target the PC.
Again, it's a bit confusing becasue the project type in Studio leaves a lot
to be desired (it's better than the crap we had in '03, but it's a long way
from seamless).

If you can scrounge up the latest MSDN article (I usually Google for
'compact framework deploy msi tacke' to get there) I think I had screen
shots that make it at least a little more clear.

-Chris
 
E

egholm

Ahh yes, I was creating the shortcut in the MSI project.
It works when I make the shortcut in the CAB project.

Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top