Re: Overwrite exe silently



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



Relevant Pages

  • Re: Safari carpet bomb exploit!!!
    ... Steve de Mena wrote: ... Mac Safari even downloading the darned thing, ... I thought a lot of files I download with Safari in OS X execute too. ...
    (comp.sys.mac.advocacy)
  • RE: Installing a COM compatible assembly from a CAB via IE
    ... I was wrong in my earlier post about it downloading the .tlb and other .dll ... figure out was that it was successfully downloading the CAB file. ... "This installation package could not be opened. ... You can attach Process Monitor to trace the registry, file system, network, ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Asteroids Deluxe cab in MA
    ... That is sad as Asteroids Deluxe work is one of the most beautiful games to ... >> Rob - that the one you got from me? ... >>> If nobody takes this cab, ...
    (rec.games.video.arcade.collecting)
  • Re: Is my js scripts being copied/downloaded from my web server?
    ... >unauthorized access is use automatic tools such as those web crawling etc.? ... However it is impossible to prevent downloading of a .js file. ... must have this file in order to execute the Javascript code. ... Dutch patent attorney - Speaking only for myself ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Asteroids Deluxe cab in MA
    ... was MUCH nicer than described. ... > Rob - that the one you got from me? ... >> If nobody takes this cab, ...
    (rec.games.video.arcade.collecting)

Loading