1. Autoexec.bat / .nt

Hello all,

Im in need of some advice for my installer project.
How are users of NT, 2k and XP setting the Euphoria environment
since there is no autoexec.bat persay but instead autoexec.nt that is
normally located in the /WinNT/System32/ or, C:\Windows\System32
or, %SystemRoot%\System32 subdirectory ?

I searched the archive and found that Irv left this page for review.
http://www.columbia.edu/~em36/wpdos/windowsxp.html
this seems helpfull but is there anywhere else that someone could
store the autoexec.nt file and it still remain functional? if not this is
good news because I wont have to recursively search drives looking.

Is it possible to change Registry settings instead of editing the
autoexec.nt file? if so, what reg items/values?

Here are notes I made for this project from the web page (above):
If you have a Config.sys or Autoexec.bat file left over from your old system,
Any line in Autoexec.bat that launches a program or changes a directory will be
ignored; the only lines in Autoexec.bat that
Windows XP will read are the lines that begin SET or PATH. So I should look
initially for these files first cause we only
need SET Eu.

I know there exist file locking on NT, 2k, XP does anyone have permission
detection
code? Just one more bunch of bullchips I have to consider...

as you can see I dont have much info so any help will be appreciated..
TIA, Euman

new topic     » topic index » view message » categorize

2. Re: Autoexec.bat / .nt

Euman writes:

> Is it possible to change Registry settings instead of editing the
> autoexec.nt file? if so, what reg items/values?

I copied/pasted the following from the INNO setup
configuration file that I'm using. {app} is the directory
the person installed Euphoria in.

[Registry]
;set EUDIR environment variable and add to PATH on NT/2000/XP machines

ROOT: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "EUDIR";
ValueData: "{app}"; Flags: uninsdeletevalue;
MinVersion: 0, 3.51

ROOT: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "PATH";
ValueData: "{app}\BIN; {reg:HKCU\Environment,PATH}";
MinVersion: 0, 3.51

;associate .exw files to be called by EXW.exe

Root: HKCR; Subkey: ".exw"; ValueType: string; ValueName: ""; ValueData:
"EUWinApp"; Flags: uninsdeletevalue

Root: HKCR; Subkey: "EUWinApp"; ValueType: string; ValueName: ""; ValueData:
"Euphoria Windows App"; Flags: uninsdeletekey

Root: HKCR; Subkey: "EUWinApp\DefaultIcon"; ValueType: string; ValueName: "";
ValueData: "{app}\BIN\EXW.EXE,0"; Flags:
uninsdeletekey

Root: HKCR; Subkey: "EUWinApp\shell\open\command"; ValueType: string; ValueName:
""; ValueData: """{app}\BIN\EXW.EXE""
""%1"""; Flags: uninsdeletekey

;associate .ex files to be called by EX.exe

Root: HKCR; Subkey: ".ex"; ValueType: string; ValueName: ""; ValueData:
"EUDOSApp"; Flags: uninsdeletevalue

Root: HKCR; Subkey: "EUDOSApp"; ValueType: string; ValueName: ""; ValueData:
"Euphoria DOS App"; Flags: uninsdeletekey

Root: HKCR; Subkey: "EUDOSApp\DefaultIcon"; ValueType: string; ValueName: "";
ValueData: "{app}\BIN\EXW.EXE,0"; Flags:
uninsdeletekey

Root: HKCR; Subkey: "EUDOSApp\shell\open\command"; ValueType: string; ValueName:
""; ValueData: """{app}\BIN\EX.EXE""
""%1"""; Flags: uninsdeletekey

;associate .e, .ew and .eu files to be called by ED.bat

Root: HKCR; Subkey: ".e"; ValueType: string; ValueName: ""; ValueData:
"EUCodeFile"; Flags: uninsdeletevalue

Root: HKCR; Subkey: ".ew"; ValueType: string; ValueName: ""; ValueData:
"EUCodeFile"; Flags: uninsdeletevalue

Root: HKCR; Subkey: ".eu"; ValueType: string; ValueName: ""; ValueData:
"EUCodeFile"; Flags: uninsdeletevalue

Root: HKCR; Subkey: "EUCodeFile"; ValueType: string; ValueName: ""; ValueData:
"Euphoria Code File"; Flags: uninsdeletekey

Root: HKCR; Subkey: "EUCodeFile\DefaultIcon"; ValueType: string; ValueName: "";
ValueData: "{app}\BIN\EXW.EXE,0"; Flags:
uninsdeletekey

Root: HKCR; Subkey: "EUCodeFile\shell\open\command"; ValueType: string;
ValueName: ""; ValueData: """{app}\BIN\ED.BAT""
""%1"""; Flags: uninsdeletekey


If you want the whole setup file, let me know.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

(still happy with INNO)

new topic     » goto parent     » topic index » view message » categorize

3. Re: Autoexec.bat / .nt

-------Phoenix-Boundary-07081998-

Hi Robert Craig, you wrote on 4/29/02 6:53:24 PM:

>
>I copied/pasted the following from the INNO setup
>configuration file that I'm using. {app} is the directory
>the person installed Euphoria in.
>
>[Registry]
>;set EUDIR environment variable and add to PATH on NT/2000/XP machines
>
>ROOT: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "EUDIR"; 
>ValueData: "{app}"; 
>Flags: uninsdeletevalue;
>MinVersion: 0, 3.51
>
>ROOT: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "PATH"; 
>ValueData: "{app}\BIN; 
>{reg:HKCU\Environment,PATH}";
>MinVersion: 0, 3.51
>
>;associate .exw files to be called by EXW.exe
>
>Root: HKCR; Subkey: ".exw"; ValueType: string; ValueName: ""; ValueData: 
>"EUWinApp"; Flags: 
>uninsdeletevalue
>
>Root: HKCR; Subkey: "EUWinApp"; ValueType: string; ValueName: ""; 
>ValueData: "Euphoria Windows 
>App"; Flags: uninsdeletekey
>
>Root: HKCR; Subkey: "EUWinApp\DefaultIcon"; ValueType: string; ValueName: 
>""; ValueData: 
>"{app}\BIN\EXW.EXE,0"; Flags:
>uninsdeletekey
>
>Root: HKCR; Subkey: "EUWinApp\shell\open\command"; ValueType: string; 
>ValueName: ""; ValueData: 
>"""{app}\BIN\EXW.EXE""
>""%1"""; Flags: uninsdeletekey
>
>;associate .ex files to be called by EX.exe
>
>Root: HKCR; Subkey: ".ex"; ValueType: string; ValueName: ""; ValueData: 
>"EUDOSApp"; Flags: 
>uninsdeletevalue
>
>Root: HKCR; Subkey: "EUDOSApp"; ValueType: string; ValueName: ""; 
>ValueData: "Euphoria DOS 
>App"; Flags: uninsdeletekey
>
>Root: HKCR; Subkey: "EUDOSApp\DefaultIcon"; ValueType: string; ValueName: 
>""; ValueData: 
>"{app}\BIN\EXW.EXE,0"; Flags:
>uninsdeletekey
>
>Root: HKCR; Subkey: "EUDOSApp\shell\open\command"; ValueType: string; 
>ValueName: ""; ValueData: 
>"""{app}\BIN\EX.EXE""
>""%1"""; Flags: uninsdeletekey
>
>;associate .e, .ew and .eu files to be called by ED.bat
>
>Root: HKCR; Subkey: ".e"; ValueType: string; ValueName: ""; ValueData: 
>"EUCodeFile"; Flags: 
>uninsdeletevalue
>
>Root: HKCR; Subkey: ".ew"; ValueType: string; ValueName: ""; ValueData: 
>"EUCodeFile"; Flags: 
>uninsdeletevalue
>
>Root: HKCR; Subkey: ".eu"; ValueType: string; ValueName: ""; ValueData: 
>"EUCodeFile"; Flags: 
>uninsdeletevalue
>
>Root: HKCR; Subkey: "EUCodeFile"; ValueType: string; ValueName: ""; 
>ValueData: "Euphoria Code 
>File"; Flags: uninsdeletekey
>
>Root: HKCR; Subkey: "EUCodeFile\DefaultIcon"; ValueType: string; 
>ValueName: ""; ValueData: 
>"{app}\BIN\EXW.EXE,0"; Flags:
>uninsdeletekey
>
>Root: HKCR; Subkey: "EUCodeFile\shell\open\command"; ValueType: string; 
>ValueName: ""; 
>ValueData: """{app}\BIN\ED.BAT""
>""%1"""; Flags: uninsdeletekey
>
>
>If you want the whole setup file, let me know.
>
>Regards,
>   Rob Craig
>   Rapid Deployment Software
>   http://www.RapidEuphoria.com
>
>(still happy with INNO)
>

Windows sure has improved since autoexec.bat eh=3F

Karl Bochert

-------Phoenix-Boundary-07081998---

new topic     » goto parent     » topic index » view message » categorize

4. Re: Autoexec.bat / .nt

> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 
> (still happy with INNO)

THX Rob

I had looked thru some of this earlier just need to know what other
avenues exist.

I have not one but three GUI's to choose from now and I promise
a bullet-proof installation....It might take many months to get it
all right but right it will be. There will also be two seperate methods
for file operations, Eupho's built-in and API.

Instead of those stupid .ini type scripts, a seperate GUI to enter data
that will automatically be inserted into the installer code.

To date I have well over 10,000 lines of code Im busy as hell tweaking.
Ask CK or Wolf if Im not serious about this project.....

I wont release the file I/O stuff till its PERFECT on many machines/OS!

It will not matter to me whether you choose to use my Installer or not.
The knowledge Ive gained from this project has made me a pretty
strong API programmer regardless of the language used. 

Euman

new topic     » goto parent     » topic index » view message » categorize

5. Re: Autoexec.bat / .nt

This is a multi-part message in MIME format.
--------------E02044422CD9C020062E8B4E

Hi euman,

   I do it much simpler:

1. I have (i.e. on drive C:) a DIR called 'BAT' and I set the User
   variable PATH to C:\BAT . You may instead set the System path.
2. All Euphoria applications like ed, ex, exw I call via .bat files.
   Additionally I have en EU.BAT file which starts simply a CMD
   window in which you may call BIND, SHROUD. etc.
   
   The .BAT files set temporarily the Environment and PATH
   necessary for Euphoria to run. I attach a ZIP with the four
   .BAT files which you have to modify the SET and PATH variables.

Have a nice day, Rolf
--------------E02044422CD9C020062E8B4E
Content-Type: application/x-zip-compressed;
 name="EU_BAT.zip"

new topic     » goto parent     » topic index » view message » categorize

6. Re: Autoexec.bat / .nt

On 29 Apr 2002, at 22:53, Robert Craig wrote:

> 
> If you want the whole setup file, let me know.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 
> (still happy with INNO)
> 
Hi Rob!

I'm not sure if your offer is for Euman only, but I'd like to take a 
look on this stuff. Feel comfortable to send it to me via eMail. I'd 
learn something from it, surely... 

Warmest Regards,

-- Euler

new topic     » goto parent     » topic index » view message » categorize

7. Re: Autoexec.bat / .nt

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C1F06F.0CC72B60
	charset="iso-8859-1"

Euler German writes:
> I'm not sure if your offer is for Euman only, but I'd like to take a 
> look on this stuff. Feel comfortable to send it to me via eMail. I'd 
> learn something from it, surely... 

I've attached the INNO setup script used to create
e23setup.exe, the installer for Euphoria on WIN32+DOS32.

The free INNO installer can be found at:
http://www.innosetup.com

INNO "compiles" your script into a .exe file.
You can modify various options in the script
without having to get bogged down in the details of programming.
You end up with a nice-looking install program.

The Euphoria script was written originally by Alberto Gonzalez,
but I've tweaked it in several places. For instance, a single
copy of the docs is included in e23setup.exe, along with
Junko's documentation generator. The generator builds
the .htm and corresponding .doc files at install time, and then
the generator is deleted. This reduces the size of 
e23setup.exe (by about 100K).

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com


------=_NextPart_000_0008_01C1F06F.0CC72B60
Content-Type: application/x-zip-compressed;
	name="INNO.ZIP"

new topic     » goto parent     » topic index » view message » categorize

8. Re: Autoexec.bat / .nt

On 30 Apr 2002, at 17:47, Robert Craig wrote:

> 
> I've attached the INNO setup script used to create
> e23setup.exe, the installer for Euphoria on WIN32+DOS32.
> 
> The free INNO installer can be found at:
> http://www.innosetup.com
> 
> The Euphoria script was written originally by Alberto Gonzalez,
> but I've tweaked it in several places. For instance, a single
> copy of the docs is included in e23setup.exe, along with
> Junko's documentation generator. The generator builds
> the .htm and corresponding .doc files at install time, and then
> the generator is deleted. This reduces the size of 
> e23setup.exe (by about 100K).
> 
Tweaking: that's what I was looking for! As I said, I'll learn a lot 
from it. Thanks Rob. Please, send my regards to Junko.

> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 

Best Regards,

-- Euler

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu