Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2019, 04:57 AM
UsamaWaheed UsamaWaheed is offline
Registered User
 
Join Date: Dec 2014
Posts: 17
Exclamation Portable Version SecureCRT 8.5 - Issue

Hi,

I want to create a new portable version of my setup. Here is where I stand.
  • I installed it on my laptop and let it go it's default directory which was somewhere in appdata....so something like C:\users\MyUser\AppData\Local\Vandyke\SecureCRT
  • Now I copied the Folder "SecureCRT" on to my Desktop\MySecureCRt
  • Create a new bat file in the MySecureCRT called SecureCRT.bat
  • License file in the SecureCRT folder.
  • -----ALL GOOD TILL HERE-----
  • Config folder is where the issue is, because most of the ini files have entries which point to original installation directory
  • I edited those by changing where-ever {VDS_Config_Variable} is called changed to "..\MySecureCRT\" but whenever I exit SecureCRT a new folder is created on my Desktop called CONFIG and it has two files.. 1- Global.ini & SCRTMenuToolbarV3.ini

Can kindly someone assist with this please. I want everything localized to the MySecureCRT folder, nothing out of it.

P.S: Followed the https://www.vandyke.com/support/tips/usbdrive.html process to get till here.
Thanks.
Reply With Quote
  #2  
Old 11-13-2019, 01:13 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi UsamaWaheed,

Quote:
* Config folder is where the issue is, because most of the ini files have entries which point to original installation directory
* I edited those but whenever I exit SecureCRT a new folder is created on my Desktop called CONFIG and it has two files.. 1- Global.ini & SCRTMenuToolbarV3.ini
Did you put the Config folder in the MySecureCRT folder created in this step?
Quote:
* Now I copied the Folder "SecureCRT" on to my Desktop\MySecureCRt
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 11-13-2019, 02:16 PM
UsamaWaheed UsamaWaheed is offline
Registered User
 
Join Date: Dec 2014
Posts: 17
Question

Hi Brenda

Thanks for your reply. Yes, the config folder was copies and the bat file was pointing towards the correct location of the copied config folder.

First I tried putting it in SecurCRT folder and I had knownhosts in the config folder...i could see all my saved hosts go there so it took the correct config folder. However, on exiting it went one folder up created config folder with just the files i mentioned earlier.

Then I thought maybe, it needs to be in the root directory (MySecureCRT), did the same but then it went one folder up and created it a config folder on desktop (the parent for MySecureCRT).

Can you guys kindly have a look at the portable process? Try it at your end and share with us all the steps that we need to carry out including editing all the other folder locations and the variable {VDS_CONFIG..}?
I know it's a bit of a hassle but I kindly request if you can help out.

Thanks
Reply With Quote
  #4  
Old 11-13-2019, 02:34 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi UsamaWaheed,
Quote:
Can you guys kindly have a look at the portable process? Try it at your end and share with us all the steps that we need to carry out including editing all the other folder locations and the variable {VDS_CONFIG..}?
I know it's a bit of a hassle but I kindly request if you can help out.
I did and it worked exactly as expected.

You should not be editing the INI files at all. It is unnecessary and those variables have a purpose, but they have no bearing on this use case.

Quote:
First I tried putting it in SecurCRT folder and I had knownhosts in the config folder...i could see all my saved hosts go there so it took the correct config folder. However, on exiting it went one folder up created config folder with just the files i mentioned earlier.

Then I thought maybe, it needs to be in the root directory (MySecureCRT), did the same but then it went one folder up and created it a config folder on desktop (the parent for MySecureCRT).
I see. I think you have misinterpreted the original directions. They don't say put the installation directory inside a folder. The install folder *becomes* the target/USB folder (the top level folder). I hope that makes sense?

Basically it sounds like you have SecureCRT inside MySecureCRT but SecureCRT should be the top level folder (then Config subfolder inside) and license file, batch, etc.

Does this help clarify?

If you get rid of the extraneous parent folder MySecureCRT, what are the results?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 11-13-2019, 02:46 PM
UsamaWaheed UsamaWaheed is offline
Registered User
 
Join Date: Dec 2014
Posts: 17
I see what you mean. Let me give it a try, will be in back 15 minutes please.

Last edited by UsamaWaheed; 11-13-2019 at 02:59 PM. Reason: typo
Reply With Quote
  #6  
Old 11-13-2019, 02:51 PM
UsamaWaheed UsamaWaheed is offline
Registered User
 
Join Date: Dec 2014
Posts: 17
Unfortunately same results . How can I show it to you guys?

Last edited by UsamaWaheed; 11-13-2019 at 02:59 PM. Reason: typos
Reply With Quote
  #7  
Old 11-13-2019, 03:07 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi UsamaWaheed,

Do you have write permissions to the USB device?

Please just attach a screenshot that shows the structure of your USB device (redacting anything non-SecureCRT at that top level if you deem it sensitive).
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by bgagnon; 11-13-2019 at 03:10 PM.
Reply With Quote
  #8  
Old 11-13-2019, 03:41 PM
UsamaWaheed UsamaWaheed is offline
Registered User
 
Join Date: Dec 2014
Posts: 17
Hi Brenda,

Currently creating it on my Desktop when all is good will copy it to USB.

So my Folder name is SecureCRT which is currently sitting on the desktop. Think of this as USB Drive. I followed two approaches:
  • When I open it, before there was a folder called SecureCRT, Config & file called SecureCRT.bat (which referenced these two folders)
  • Second approach was what you said the installation fodler SecureCRT copy everything inside it to the USB drive (which I am currentl saying is the SecureCRT Folder on the desktop) --See screenshot attached.

If this does not work, can you kindly share your SecureCRT portable setup minus the license file. I will just put in my license and see what happens.
Attached Images
File Type: png [Nov-14]-001-[2.36.18 AM].png (322.8 KB, 961 views)
Reply With Quote
  #9  
Old 11-14-2019, 07:21 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hello,

Please reply to this inquiry:
Quote:
Do you have write permissions to the USB device?
Because you are getting these extraneous files when you exit from using SecureCRT on the USB, correct? Which means changes have been made and these files need updated but they can't overwrite the existing (Global.ini and the SCRTMenuToolbarV3.ini file are found in Config).

It sounds like you have it set up correctly. I don't think it will change anything to share my setup.

In any "portable" setup:
  • SecureCRT's configuration folder must be named Config.
  • The Config folder must contain the Global.ini, etc. files from your original "Config" folder. It must also contain the Sessions folder in which all of your saved session hierarchy resides.
  • The Config folder must live in exactly the same directory as the SecureCRT.exe application file.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
config , issue , portable , usb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:44 AM.