Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: H-Man Newsgroups: comp.lang.basic.visual.misc Subject: Re: 64 bit Windows install difficulty Date: Fri, 16 Mar 2012 13:53:07 -0600 Organization: L&H Custom Computer Lines: 27 Sender: - <> Message-ID: References: <29481981.185.1331853938104.JavaMail.geo-discussion-forums@vbgx21> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Date: Fri, 16 Mar 2012 19:53:08 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="rL3nYxa9U8XQLLofRZ/o6Q"; logging-data="12209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GmgN06P52qA+a6g6uv3x+" User-Agent: L&H_NewsReader V0.21b X-No-Archive: yes X-Face: 0,dxK"9Vnl2!LF*b@)'a6H7k-YuB|b5~EG$e&^G.Lo\/fKUiOU?0v$x9}s4vZ^b0V=ZSiZ< |2G8pES!{5lVZ9I?@$7ptr*PP!tT/+t.2up'"TVr*u$q?TE];F3/VdwA4ALA Cancel-Lock: sha1:ei0KAteKDVRskahwLRVmE1hI9WM= Xref: csiph.com comp.lang.basic.visual.misc:967 On Thu, 15 Mar 2012 16:25:38 -0700 (PDT), peter.lawton@blueyonder.co.uk wrote: > Hi. > I distribute my programs via the internet from my web site. The file which users download is a self extracting zip file, with the .exe extension. > When it is run it extracts all the files within it to a temp directory and runs automatically one of these files (install.exe) which is a little vb program I have written which presents the user with a pretty picture screen and the choice of running the various "setup.exe" files now in the temp directory (there are several different "setup.exe"s to choose from). > OK, this has worked fine for years. > But, I today got a call from a Win7 64 bit user telling me that "install.exe" won't run and instead reports it can't find msvbm50.dll (I use vb5). > > Now, msvbm50.dll is contained in the install package, and up 'til now, its presence in the temp folder has been sufficient for "install.exe" to run - it seems it doesn't need to be in the Sys32 folder for VB5 to run. > > "Install.exe" eventually ran OK once the user had manually pasted msvbm50.dll into the SysWow64 folder. > > So, I'm guessing that on a 64bit system, msvbm50.dll has to be in the SysWoW64 folder for vb5 to run. > My question is, how do I programmatically put it in this folder? I can't use VB because it has to be there before VB can run. > I was thinking of writing a .bat file which would automatically run when the install package is unzipped, and would copy msvbm50.dll to the Syswow64 folder, and then start install.exe. > > Trouble is, would that mess up install on 32 bit systems - would it crash if the SysWow64 directory did not exist? > > I am hampered at the moment by not having a 64bit system here to try things out on! Try a pre-install using something like Inno Setup. It's sciptable and you could make sure VB5RT is installed before you present the user with more options. -- HK