how to disable a UI in smart device CAB project

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

Christopher Fairbairn [MVP]

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
 

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