Author Topic: Acad Install ini  (Read 6749 times)

0 Members and 1 Guest are viewing this topic.

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« on: August 22, 2004, 05:24:33 PM »
Why doesn't this line work in my acadinst.ini file?

Code: [Select]
[<PROFILE>General]
PrinterConfigDir=S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=S:\AutoCAD 2002\Plot Styles


I've tried...

Code: [Select]
[<PROFILE>General]
PrinterConfigDir=<string>S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=<string>S:\AutoCAD 2002\Plot Styles


Code: [Select]
[<PROFILE>General]
PrinterConfigDir="S:\AutoCAD 2002\Plotters\"
PrinterStyleSheetDir="S:\AutoCAD 2002\Plot Styles"


Code: [Select]
[<PROFILE>General]
PrinterConfigDir=<string>"S:\AutoCAD 2002\Plotters\"
PrinterStyleSheetDir=<string>"S:\AutoCAD 2002\Plot Styles"


but none work??

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

hendie

  • Guest
Acad Install ini
« Reply #1 on: August 23, 2004, 03:36:47 AM »
your second version there looks as though it should work. Are you setting anything else through the Profiles section ? do those settings take effect ?

Quote
[<PROFILE>General]
would operate on values under HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\ [Version]\[Product]\Profiles\[Profile]\General


is everything else you are setting in the ini file taking effect ? (just trying to ascertain that the acadinst.ini is actually being run ok)

do you have a line similar to:
Quote
Filename: {app}\AcadInst.exe; Description: Configure AutoCAD; Parameters: {app}; Flags: waituntilidle
near the end if your iss file ?

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #2 on: August 23, 2004, 10:39:08 AM »
Hendie,

The acadinst.exe is running fine. So is the only profile that is modified, has to be created by the .ini file? This will not change existing profiles? I was trying to use this install as a means of updating every profile.

Thanks,

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

hendie

  • Guest
Acad Install ini
« Reply #3 on: August 23, 2004, 11:02:15 AM »
Do you have anything under the [NewProfile] section ?
I seem to remember having some problem when I tried to modify the profiles and it created a new one but I couldn't set it current ~ but that was when I was just starting with the programme so it was most likely my fault.
if you do have something in the [newprofile] section, you could try commenting it out and see if that makes any difference. Alternatively, if you've downloaded the other prog I mentioned, there's a section in it where you can modify the registry ~ you could try that.

I'll have a play here and see if I can get it to work.

hendie

  • Guest
Acad Install ini
« Reply #4 on: August 23, 2004, 11:25:06 AM »
I've had a look and everything you've done seems okay ~ the second version should work from what I can see.
all I can suggest is woeful... are you passing it a valid path ~ I noticed there was no "program files" in there

sorry for such an insipid suggestion.... I'll keep playing

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Acad Install ini
« Reply #5 on: August 23, 2004, 11:54:46 AM »
from what I read your version;
Code: [Select]

[<PROFILE>General]
PrinterConfigDir=<string>S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=<string>S:\AutoCAD 2002\Plot Styles

should work.
TheSwamp.org  (serving the CAD community since 2003)

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Acad Install ini
« Reply #6 on: August 23, 2004, 12:06:41 PM »
Just did a test on one of mine and the following worked for the profile I selected in acadinst.

Code: [Select]

[<PROFILE>General]
PlotToFilePath=<STRING>C:\Temp


notice the uppercase STRING that may have something to do with it.
TheSwamp.org  (serving the CAD community since 2003)

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #7 on: August 23, 2004, 12:44:33 PM »
Quote

notice the uppercase STRING that may have something to do with it.



BINGO!!!!  Thanks Mark. That was driving me insane!

Ron :D

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #8 on: August 23, 2004, 01:36:35 PM »
I'm now having trouble with my pulldown menu not loading everytime? When I initially install, everything works great. Then I close out of AutoCAD, reopen, and my pulldown menu is not loaded?? Any suggestions?

Code: [Select]
in ini:

[MENU]

MenuGroups=AQUA:AQUA:20:50

in mns:

***MENUGROUP=AQUA

***POP20
**AQUA


Thanks,

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #9 on: August 24, 2004, 02:24:46 PM »
Whenever I open AutoCAD 2004, my menu loads and the mnc is recompiled. Then I open 2002 and the menu will not load. Should I not be sharing the same .mns file between versions of acad? How can I get around this?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #10 on: August 24, 2004, 05:16:21 PM »
No takers?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

cadwerx

  • Guest
Acad Install ini
« Reply #11 on: August 24, 2004, 06:57:15 PM »
You should definitely not be using the same .mns file for 2004 as 2002.

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #12 on: August 24, 2004, 07:10:25 PM »
So should I have different mns files for 2002, 2004, and 2005? If so, how do I successfully load them into the correct version of acad in one install package? Right now I'm just using the MENU portion of the ini file to load.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Anonymous

  • Guest
Acad Install ini
« Reply #13 on: August 24, 2004, 07:19:59 PM »
No just one for pre-2004 and one for 2004 and later versions.

BTW, this is precisely why the Uninstall= key was included in the [MENU] section of AcadInstall (in case you have pre-existing menus that you need to now version for AutoCAD).

cadwerx

  • Guest
Acad Install ini
« Reply #14 on: August 24, 2004, 07:24:03 PM »
That was me, I thought I was logged in :)

ronjonp

  • Needs a day job
  • Posts: 7529
Acad Install ini
« Reply #15 on: August 26, 2004, 05:34:04 PM »
Hey Byron (or any one else),

How do I get my installer to recognize a version already installed and automatically uninstall it?

Thanks,

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC