Re: Overwrite exe silently
- From: "Rob S" <RobS@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 5 Jul 2005 08:11:04 -0700
Thanks for the reply.
Currently, i'm downloading the file, and then on startup i'm running the cab.
So... as you suggest, i'm changing my code to something like this:
success = SHCreateShortcut(@"\WINDOWS\Startup\SAMSLoad.lnk", @"wceload.exe
/noui /noaskdest \Program Files\SAMS PDA\download.cab");
However, no error but doesn't seem to do anything.
Does that look right?
Thanks again.
"Sergey Bogdanov" wrote:
> To suppress UI try to execute 'wceload' in this manner:
>
> wceload.exe /noui /noaskdest yourcab.cab
>
>
> --
> Sergey Bogdanov [.NET CF MVP, MCSD]
> http://www.sergeybogdanov.com
>
>
> Rob S wrote:
> > I'm writing the auto update part of my application.
> >
> > Step 1 is downloading the application to the PDA, this works fine. The next
> > part is executing the cab file, this all works fine but the user does need to
> > interact to say "Yes" to the overwriting of the exe file.
> >
> > My question is, is there anyway for this to be done automatically ?
> >
> > I notice Visual Studio doesn't prompt you to overwrite the file when you run
> > it from the development environment, how does it do that ?
> >
> > Many thanks
> > Rob
>
.
- Follow-Ups:
- Re: Overwrite exe silently
- From: Sergey Bogdanov
- Re: Overwrite exe silently
- References:
- Overwrite exe silently
- From: Rob S
- Re: Overwrite exe silently
- From: Sergey Bogdanov
- Overwrite exe silently
- Prev by Date: RE: Poor bitmap quality
- Next by Date: Re: outlook contacts
- Previous by thread: Re: Overwrite exe silently
- Next by thread: Re: Overwrite exe silently
- Index(es):
Relevant Pages
|
Loading