Re: Cab file
- From: Lorica <Lorica@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 07:31:02 -0800
My idea is to make the dialog unshown,
and to show a customized dialog (used for user's choice), then the program
creates the corresponding new directory for the choosing.
So it seems like a good idea to modify the DLL, by the way, I have no other
idea now, so ... have you any other idea?
"Paul G. Tobey [eMVP]" wrote:
> I would presume that the path is CONST, which is what the C in the type
> indicates, for a very good reason. Obviously, you should not be changing
> things that are declared as CONST by Windows CE.
>
> Paul T.
>
> "Lorica" <Lorica@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:DBDD084C-07C4-4061-AF4A-7859801CF0EF@xxxxxxxxxxxxxxxx
> >I have known the key is located under
> > HKEY_LOCAL_MACHINE
> > SOFTWARE
> > Apps
> > Microsoft Application Installer
> > and I modify the key value of fAskDest and it can make the dialog shown or
> > unshown
> > For exmaple, I make its value be 0 and so the dialog won't show out before
> > installing my cab
> >
> > There is another problem for me now, could you please help me?
> > I'd like to create a new directory before installing my cab, so I create a
> > DLL to do the action in function "codeINSTALL_INIT Install_Init(HWND
> > hwndparent, BOOL ffirstcall, BOOL fpreviouslyinstalled, LPTSTR
> > pszinstalldir)", one parameter type, "pszinstalldir" of which, has been
> > modified by me as LPTSTR, instead of LPCTSTR by default, and the
> > function
> > definition is like below:
> > TCHAR pszfilepath[512];
> > wcscpy(pszfilepath,TEXT("\\Storage Card\\My
> > Game\\AGame"));
> > CreateDirectory(pszfilepath,NULL);
> > wcscpy(pszinstalldir,pszfilepath);
> > return codeINSTALL_INIT_CONTINUE;
> >
> > As a result, the cab can be installed onto my device and run it correctly,
> > only an exception pops up after finishing the installation saying that one
> > critical error for the application has occured, its relative information
> > is:
> > "Program: wceload.exe; Exception: 0x80000002; Address: 03F829C8"
> >
> > Is it wrong to modify the parameter's type? or is there another way to
> > implement this application? Create a new directory before installing the
> > cabs...
> > Can you help me? Or give me some tips? Thanks in advance! It is very
> > urgent...
> >
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> Maybe the association of .CAB with the wceload program on PPC includes
> >> some
> >> command line options which cause the 'where' dialog not to be shown.
> >> You'd
> >> have to use the remote registry editor to see, on the PPC device.
> >>
> >> Paul T.
> >>
> >> "Mhaxx" <supermhaxx@xxxxxxxxxxxxx> wrote in message
> >> news:exZ1ftP6FHA.2020@xxxxxxxxxxxxxxxxxxxxxxx
> >> > Could someone tell me why lauching my .cab on my WCE .NET 4.20 device,
> >> > a
> >> > window appears asking to me where to install it?
> >> >
> >> > This is the same .cab I've always used with "Pocket PC 2003" PDA and it
> >> > install itself normally, without to ask something to the user!
> >> >
> >> > Mhaxx
> >> >
> >> >
> >>
> >>
> >>
>
>
>
.
- Follow-Ups:
- Re: Cab file
- From: Paul G. Tobey [eMVP]
- Re: Cab file
- References:
- Re: Cab file
- From: Paul G. Tobey [eMVP]
- Re: Cab file
- Prev by Date: Re: Breakpoints in WinCE image
- Next by Date: Re: Cab file
- Previous by thread: Re: Cab file
- Next by thread: Re: Cab file
- Index(es):
Relevant Pages
|