Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #979

Re: 64 bit Windows install difficulty

From GS <gs@somewhere.net>
Newsgroups comp.lang.basic.visual.misc
Subject Re: 64 bit Windows install difficulty
Date 2012-03-18 18:49 -0400
Organization A noiseless patient Spider
Message-ID <jk5oov$cda$1@dont-email.me> (permalink)
References (1 earlier) <jk0uhb$7cg$1@speranza.aioe.org> <158540.17.1332077036726.JavaMail.geo-discussion-forums@vbhv6> <jk509b$utq$1@dont-email.me> <17953706.1221.1332094037167.JavaMail.geo-discussion-forums@vbbfy7> <jk5h98$2qa$1@dont-email.me>

Show all headers | View raw


Mike Williams brought next idea :
> <peter.lawton@blueyonder.co.uk> wrote in message 
> news:17953706.1221.1332094037167.JavaMail.geo-discussion-forums@vbbfy7...
>> On Sunday, 18 March 2012 15:51:35 UTC, Mike Williams
>>> wrote in message:
>>> news:158540.17.1332077036726.JavaMail.geo-discussion-forums@vbhv6...
>>> Is your install stuff running as Admin by the way?
>>
>> Mmm. I don't think the self extracting .exe makes any
>> request for administrator status, now I come to look at it.
>
> Well you'll need to have your self extracting zip file Run as Admin otherwise 
> your attempt to use a contained script or batch file to copy a file into a 
> protected system folder will fail. Putting the word 'Setup' or 'Install' into 
> the filename is supposed to make Windows detect it as requiring Admin 
> Privileges but, as Ralph has already said, that method is not entirely 
> reliable. The package you used to create your self extracting zip file should 
> have such a facility though. I don't use self extracting zip files much 
> myself  but I've just downloaded the freeware version of WinZip Self 
> extractor and that certainly has the option to set the package to 
> automatically 'Run as Admin'.
>
> One thing that puzzles me about what you are doing is your use of a VBS 
> script file which uses the Scripting Object to run a DOS batch file, with the 
> DOS batch file in turn copying the msvbvm50.dll file into the System 
> directory and then starting up your VB6 program. This just introduces an 
> additional level of complexity and will in any case fail if the scripting 
> host has been disabled. Why are you doing that? Why don't you get rid of the 
> VBS script file altogether and instead set the DOS batch file as the Autorun 
> file in the zip?
>
> Having said that, whether your self extracting zip file uses both a script 
> and a batch file or just a batch file on its own to run a contained exe file 
> you will probably have problems on some machines with some anti virus 
> programs which might block such attempts. On tests I've just carried out, the 
> Sonar protection in Norton Internet Security is sometimes very aggressive in 
> such circumstances. In fact, as I think Farnsworth pointed out, it was 
> probably an anti virus program that caused your original problem on one 
> specific machine and the fact that it happened to be a machine running a 64 
> bit version of Windows 7 was probably just a coincidence.
>
> Mike

I have WinZip SelfExtractor, which I use for distributing updates 
instead of the full Install.EXE. I think you're referring to the 
runtime behavior associated with the 'Type of self extracting zip 
file', where it's explicitly optional for software installation. This 
might elevate it to 'Run as admin' status but I don't see an explicit 
option that states what elevation to run at.

If the OP is using IExpress, I don't see where there's an option for 
setting the runtime UAC level.

I use Wise mostly, and I display a notification that it must be 'Run as 
administrator' in case the "Install" portion of its name is ignored by 
the OS. This is required because I also use jsware's NTFS permissions 
code for setting up my target folder and it subfolders. I plan on 
exploring Inno to consider a switch, hoping the permissions settings 
are a built-in feature.

-- 
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
    comp.lang.basic.visual.misc
    microsoft.public.vb.general.discussion

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-15 16:25 -0700
  Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-15 20:34 -0500
    Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-16 08:49 -0700
      Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-16 12:33 -0500
  Re: 64 bit Windows install difficulty H-Man <Spam@bites.fs> - 2012-03-16 13:53 -0600
  Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-16 21:56 -0500
    Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 06:23 -0700
      Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 15:51 +0000
        Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 11:07 -0700
          Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-18 13:38 -0500
          Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 20:41 +0000
            Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 14:06 -0700
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 22:43 +0000
            Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 18:49 -0400
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 23:09 +0000
                Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 19:15 -0400
                Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 19:26 -0400
      Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-18 11:54 -0500
        Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 11:47 -0700
          Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-18 19:09 -0500
          Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-18 22:11 -0500
            Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 01:07 -0700
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 10:14 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 05:03 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 07:20 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 14:55 +0000
              Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 07:05 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 06:00 -0700
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 09:31 -0500
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 10:15 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 08:18 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 09:36 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 10:05 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 18:48 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 15:50 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 20:42 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-20 11:09 +0000
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-20 08:32 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-20 08:52 -0700
                Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-20 15:34 -0500
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-20 16:07 -0500
                Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-21 14:00 -0500
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-21 14:20 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-20 10:29 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-20 08:46 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 20:12 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 01:29 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 09:57 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 04:57 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 13:14 +0000
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 15:29 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 09:47 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-22 11:11 +0000
                Re: 64 bit Windows install difficulty chinamicah@gmail.com - 2012-04-15 16:12 -0700
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 09:32 -0500

csiph-web