Where can I specify the text for the Pocket PC application?

I'm not familiar with Pocket PC development, but I need to make a few minor changes to my VS2005 Pocket PC 2003 application. One of the changes (which I thought would be trivial) changes the text of the application shortcut, but I can't figure out where that text is set. The solution includes an installation project, so I search for it there, but I cannot find it. I know it must be in there somewhere because when the setup project is created, an AppSetup.inf file is generated containing the shortcut information.

It can't be that hard. Awful, I suffer from what my wife calls a "masculine vision" where I can't find the mustard bottle in the refrigerator right in front of my face. Where can I add this text?

0


source to share


3 answers


Well, as I suspected, it was right in front of my face. We will call this project PDAProject. In Solution Explorer, the PDAProjectSetup project specifies Primary Output from PDAProject (Active) . If I double-click this element , two panels appear in the code editor window. On the left side, on the left, a tree of folders is displayed with the words "File system on the target machine". Beneath that are three folders labeled "Application Folder", "Program Files Folder" and "Programs Folder". When I click on the programs folder, the application shortcut appears in the pane on the right and I can change its text.



I don't know why I never had to double-click this primary output from the PDAProject (Active) project item even if you open any class or form for editing. I right clicked and opened Properties. Maybe it's time to give up programming and start weaving a basket.

0


source


It depends on how the shortcut is generated. 3 mechanisms are commonly used.

  • Via the CEShortcuts INF section . To do this, this is the text before the first comma.
  • By copying the LNK file through the CopyFiles INF section . With this mechanism, you create a physical LNK file on the desktop that is loaded into the CAB and copied like any other file. The name on the device is again the first line before the comma.
  • Via a program call (usually SHCreateShortcut ) to a custom CE Setup DLL .


You need to figure out what is being used in your deployment script to know exactly what needs to be changed.

+1


source


Thinking about it, are you just trying to find where in the installer project's Studio UI to change the shortcut? If so, this MSDN article might help. What's very unintuitive is that there are little icons at the top of the Solution Explorer that change the view of the installer, allowing you to see things like files, registry entries, etc. Perhaps you are just not looking at the right screen and need to select a different icon. There are no menu items that do what these icons do and are hard to notice when you first run the installer project.

0


source







All Articles