Front Page › Forums › BioMap › install-win.bat file problem
- This topic has 10 replies, 7 voices, and was last updated 16 years ago by Jamesiu.
-
AuthorPosts
-
June 5, 2007 at 11:14 pm #1131HazelParticipant
Hello,
I am trying to install BioMap on a PC that we have had lots of problems with. I have downloaded and unzipped the BioMap files to a folder on the desktop, however when I attempt to run the install-win.bat file it opens and closes immediately without allowing me to view the instructions. If I click on the BioMap.sav icon I am able to open BioMap, however an error message appears alongside this "The BioMap main path may not be set up correctly, you must set the variable BioMapDir in your uparsrc file manually" and the options available are limited. I know the file set up is not correct however as the install-win.bat file will not seem to run I don;t know how to change this. I have followed instructions on other pcs and managed to install BioMap successfully.
Any ideas?
Thanks,
HazelJune 13, 2007 at 6:18 am #1134William MichenerParticipantI am also having the exact same problem as Hazel, can anyone suggest what to do?
Thanks
June 13, 2007 at 9:04 am #1135Markus StoeckliModeratorI made some modifications to the file – please download the latest BioMap version again and try it. If it does not work, get a local IT guru to your desk and he/she should be able to install the software within minutes. Please let us know if it worked for you.
Markus
September 21, 2007 at 8:41 am #1172Yongseung ShinParticipantI am also have a same problem. I have a Biomap 3754 and the program is not installed in my computer. Since no IT guys are in my location, my problem was not checked by them,yet.
Any ideas?
Thanks,
Yong
September 27, 2007 at 11:08 pm #1176AnonymousGuestI have the exact same problem… Even with the latest full version it won’t install. And the person closest to an IT guru has no idea whatsoever.
-edit-
when I run command and I execute install-win.bat I get the following:
"This script will install BioMap and/or copy the settings to the user directory.
Files/Biomap==C:/Program was unexpected at this time."Post edited by: LaurensM, at: 2007/09/27 12:13
Post edited by: LaurensM, at: 2007/09/27 12:14
Post edited by: LaurensM, at: 2007/09/27 12:14
September 27, 2007 at 11:19 pm #1177AnonymousGuestI think I found a solution. There is no logic to it, but it works anyway.
Extract the zip file anywhere but in the program files directory (I just used c:/Biomap). Then execute the install-win.bat file and then say "yes" when it asks to install it to the default directory.
October 9, 2007 at 9:47 pm #1179Kenneth ChanParticipantHello everyone,
The problem is how windows batch files handles spaces. When windows encounters a space in the condition of an if statement, it expects to see an operator… even if it is around quotation marks. Open a command line window and try this:
Type :
If ‘bob’==’bob’ echo true
Then try:
If ‘bob is’==’bob is’ echo it will never work
The only work around is to make sure all the files are at the right place, rem out the first if statement and add the line goto usave
I’m sure there is another way to do this ie. Some env switch that will use short names, but I can’t find it….
KC
PS My message box is tiny!!!!
October 10, 2007 at 7:36 am #1180Kenneth ChanParticipantI’ve got the solution. use double quotes. Search and replace these two lines:
rem check if BioMap is installed in local directory
if "%ldir%"=="%bdir%" goto usaveif not "%ldir%"=="%SYSTEMROOT%" goto aask
November 30, 2007 at 11:05 pm #1199Laurie FortisParticipantI have also encountered this installation problem…I edited the .bat file with the double quotes as suggested. I also tried unzipping the folder to the C: directory, and then answering "y" to installation in the default directory. Here is the error I now have:
BioMap installation script
==========================This script will install BioMap and/or copy the settings to the user directory.
Installing program files
————————This script was not started from the default BioMap directory.
You can run BioMap from the current location or install it to the default
location.Current directory: C:\Biomap
Default directory: C:\Program Files\BioMapDo you want to install BioMap to the default directory (y/n)? y
An existing BioMap installation was found.
Do you want to replace the existing installation (y/n)? y
BioMap was installed to the default path.
Could not access installation directory, installation aborted…
Press any key to continue . . .
If anyone can tell me where I went wrong it would be very much appreciated. I previously tried unzipping directly into the Program files and installation was aborted in that was as well.
Thank You in Advance!!!December 7, 2007 at 1:50 am #1202Markus StoeckliModeratorYes, a proper installer is on the list for BioMap, but I just didn’t get to do it… Anyway, just extract the files from BioMap.zip to the location of your choice. I typically put it under C:\Program Files\BioMap. On some systems you might not have write access to this location, so just select another one of your choice. Go to APPDATA directory (enter "set %appdata%” in the command line to find out where that is) , create in there a folder with the name BioMap and copy all the files from the Setting directory (located in the BioMap program folder) into this folder.
Or replace the install-win.bat file from the distribution with the attached one and run it…Markus [file name=install_win.bat size=5309]http://www.maldi-msi.org/components/com_joomlaboard/uploaded/files/install_win.zip[/file]
Post edited by: markus, at: 2007/12/06 13:56
Attachments:October 17, 2008 at 5:57 pm #1238JamesiuParticipantHi Firefly,
I met same problem with you. I installed the Biomap 3.7.5.5 on my desktop PC, which uses Windows Vista.
Do you solved problem? Please send your instruction to me. jliu44@uwo.ca
Thanks. -
AuthorPosts
- You must be logged in to reply to this topic.