Dan Hagerman

I would like to place a shortcut for my application on the CE device's Desktop.  I also have some files I need to put in a specific location on the device, but the File System doesn't have Desktop, or Root, etc. as available folders.  I can create a Custom Folder, but it doesn't like "\".  Putting a shortcut in the "Windows Folder"\Desktop folder doesn't work either.  Any ideas

Thanks!



Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

Dan Hagerman

Also, is there a way to default the CAB file to install to a different path than \Program Files\<app_name>   I need to install it to the non-volatile RAM on the device (\Application).  I see that I can probably do this by modifying the INF file and compiling manually... is there a spec anywhere for these CAB .INF files   Thanks.



Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

Ilya Tumanov

Yes, you probably would have to edit INF file manually. See this for INF refrence. There's no macro for Desktop, consider adding shortcut to start menu instead. See this for list of folder macros.






Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

Dan Hagerman

Yeah, I can modify the INF to install to \Application.  Funny how there's no variable for Desktop, and for whatever reason I can't even force a shortcut into \Windows\Desktop... using the variable for Windows or not.  Just won't go.  Somebody out there must have resolved this   It's a big limitation in my opinion, especially because my device doesn't have a touch screen    Thanks.



Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

Ilya Tumanov

You can use setup DLL to create shortcuts you need if standard stuff is not enough.

I'm not quite sure how it would help you though - you're saying non-volatile RAM is in \application so your shortcut would disappear after power is gone, is that right






Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

Dan Hagerman

You are correct. It's really two different issues. I can modify a startup file in the Application folder to force my app to run at boot. The desktop shortcut would only be used if the user exited the software and wanted to go back in easily. Without referring to a manual, it is hard for a user to navigate the start menu with this non-touch screen CE device. At least if the icon was on the desktop it would be easier.



Re: Smart Devices VB and C# Projects CAB Project File System, Desktop? Root?

linksys1

Dan: Edit the .ini file.

At the bottom of the .ini file, look for the [Shortcuts] heading. Be default, a shortcut gets placed in Start->Programs. You should see something that resembles this:

[Shortcuts]
YourApplication,,YourApplication.exe,%CE11%
YourApplication,,YourApplication.exe,%CE3%

The first shortcut places a shortcut in the Programs folder. The second shortcut places a shortcut onto the desktop.

I hope this helps out.