Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

How to install fpc and lazarus on drive D:? 12 years 1 week ago #1823

  • dkjMusic
  • dkjMusic's Avatar Topic Author
  • Visitor
  • Visitor
I have a dual-boot system of Win7 (C:) and Win8 (D:).

When I try to install under Win8, CodeTyphon wants to place fpc and lazarus on drive C:.

How do I specify drive D:?

Please Log in or Create an account to join the conversation.

Re: How to install fpc and lazarus on drive D:? 12 years 1 week ago #1824

  • xcod
  • xcod's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 45
  • Thank you received: 2
I join a question :)
It would be desirable to have possibility to establish the CodeTyphon on a disk D.

sorry for my bad english..

Please Log in or Create an account to join the conversation.

Re: How to install fpc and lazarus on drive D:? 12 years 1 week ago #1825

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
CodeTyphon Must Installed to drive C:
you can't install CodeTyphon to other drive
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: How to install fpc and lazarus on drive D:? 12 years 2 days ago #1894

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
To xcod & dkjMusic:
I have already mentioned it, but in the other topic (just hope no one think this is ads).
You could try using cameyo to build portable lazarus CT (but that will require you to uninstall and then again make installation of CT so that cameyo could capture installation).

Also, You could try toying with HKLM\SYSTEM\MountedDevices and change drive letters, but that would have it's consequences, making that change permanent. So better not, if You're unsure...

Or You could just rename your codetyphon folder into codetyphon_win7 and instal a second copy into codetyphon. When You'll change to win7 just rename codetyphon to codetyphon_win8 and codetyphon_win7 in codetyphon. That'll do if You're not running short on HDD free space...

Anyway, just copying to another drive isn't a solution - many packages won't work. So, please, Sir Sternas, could you provide some info about what should be done to install CT on the other drive than C? Or even into other directory?

If that could be done with simply changing all C:\... to some other path in the installation script, then I believe I can make some kind of a patch, which would change occurrences of that C:\... and change the other path to correspond with new desired location. If there are more to it then changing batch files' content, then, please, specify, which files I need to check?

(Actually I could've press Ctrl+F and search for "C:\" in the lazarus' files, but are there only that line to be changed?)
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: How to install fpc and lazarus on drive D:? 12 years 2 days ago #1895

  • mtbf40
  • mtbf40's Avatar
  • Visitor
  • Visitor

dkjMusic wrote: I have a dual-boot system of Win7 (C:) and Win8 (D:).

When I try to install under Win8, CodeTyphon wants to place fpc and lazarus on drive C:.

How do I specify drive D:?


you must do following:

1. boot each Disk separate - only on Disk in Slot
2. change boot.ini with dual boot entries
3. boot both Disk together

Please Log in or Create an account to join the conversation.

Re: How to install fpc and lazarus on drive D:? 11 years 11 months ago #1914

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
That'll do nothing. Win8 still will be on D, and editing "boot.ini" couldn't help it at all. System already knows it's on D. He has 2 OS'es on TWO partitions of ONE hdd, NOT two hdd with 2 OS'es. (And even if there are 2 hdd, boot.ini will do nothing, cause 1 - it never did, 2 - win7 and win8 uses bcd, not boot.ini).

If it's NOT that way (I mean the presence of 2 hdds), then author really should think about permanent change of the drive letters in the registry.
コンソールマニアック

Please Log in or Create an account to join the conversation.

Re: How to install fpc and lazarus on drive D:? 11 years 10 months ago #2095

  • RockyLuck
  • RockyLuck's Avatar
  • Visitor
  • Visitor

dkjMusic wrote: I have a dual-boot system of Win7 (C:) and Win8 (D:).
When I try to install under Win8, CodeTyphon wants to place fpc and lazarus on drive C:.
How do I specify drive D:?

Wouldn't it be possible to use the Windows mklink command?
In your case, it would be mklink /d “C:\codetyphon” “D:\codetyphon”

Then you simply install to C:, but as soon as the installation wants to use C:\codetyphon, it would actually use drive D:

I haven't tried this, but it might work. :unsure:
Maybe mr. sternas could shed some light on the viability of this trick.

Please Log in or Create an account to join the conversation.

Last edit: by RockyLuck.

Re: How to install fpc and lazarus on drive D:? 11 years 10 months ago #2107

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
There are strict full paths in the installer, so I don't think it's possible (haven't tried too though).
And wouldn't this symlink conflict with already existed codetyphon folder?
Anyway, if that'll help out it'll be great)
But mkling has this syntax:
MKLINK [[/D] | [/H] | [/J]] symlink_name path_to_be_pointed_at
So one shouldn't have codetyphon folder anyway. Or one should rename it. Mind that symlink is FS feature, not the OS. So, in order to use CT installed on the C:\ drive, one (probably) should delete that symlink and restore original name for the codetyphon folder he or she renamed before making symlimk and before installing CT on the drive D.
And if my memory isn't playing some tricks with me, then symlinks work only inside same physical drive (don't confuse with logical drives or partitions).

Anyway, renaming is the best way so far to use 2 CT and dual-boot. One could add some batch file to rename folders at the logon or smth like that. this way every time OS should be loaded C:\codetyphon would contain the installation of CT for this particular OS.
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1