how to disable a UI in smart device CAB project

  • Thread starter Thread starter Miken2010
  • Start date Start date
M

Miken2010

I use vs.net 2005 to develop for mobile 5.0. I have a problem in packing now.

During application installation,there is a UI as below:
"Choose a location to install xxx:
Device,
\applicaiton,
\cache disk,
\storage card"


I want to install "Device" as default, and don't dispaly the interface to
end user.

Thanks in advance.
 
Hi,

Miken2010 said:
I want to install "Device" as default, and don't dispaly the interface to
end user.

Take a look at a blog post of mine titled "Making a CAB file which doesn't
prompt for installation location" available at
http://www.christec.co.nz/blog/archives/534

In essenance you need to edit your CAB's *.INF file to remove the InstallDir
setting within the [CEStrings] section. This will remove the prompt that the
installer is displaying to select installation location.

You can also refer to the MSDN documentation on "User Selected installation"
available at http://msdn.microsoft.com/en-us/library/ms934876.aspx

Hope this helps,
Christopher Fairbairn
 
Back
Top