TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ronjonp on August 22, 2004, 05:24:33 PM
-
Why doesn't this line work in my acadinst.ini file?
[<PROFILE>General]
PrinterConfigDir=S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=S:\AutoCAD 2002\Plot Styles
I've tried...
[<PROFILE>General]
PrinterConfigDir=<string>S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=<string>S:\AutoCAD 2002\Plot Styles
[<PROFILE>General]
PrinterConfigDir="S:\AutoCAD 2002\Plotters\"
PrinterStyleSheetDir="S:\AutoCAD 2002\Plot Styles"
[<PROFILE>General]
PrinterConfigDir=<string>"S:\AutoCAD 2002\Plotters\"
PrinterStyleSheetDir=<string>"S:\AutoCAD 2002\Plot Styles"
but none work??
-
your second version there looks as though it should work. Are you setting anything else through the Profiles section ? do those settings take effect ?
[<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:
Filename: {app}\AcadInst.exe; Description: Configure AutoCAD; Parameters: {app}; Flags: waituntilidle
near the end if your iss file ?
-
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
-
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.
-
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
-
from what I read your version;
[<PROFILE>General]
PrinterConfigDir=<string>S:\AutoCAD 2002\Plotters\
PrinterStyleSheetDir=<string>S:\AutoCAD 2002\Plot Styles
should work.
-
Just did a test on one of mine and the following worked for the profile I selected in acadinst.
[<PROFILE>General]
PlotToFilePath=<STRING>C:\Temp
notice the uppercase STRING that may have something to do with it.
-
notice the uppercase STRING that may have something to do with it.
BINGO!!!! Thanks Mark. That was driving me insane!
Ron :D
-
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?
in ini:
[MENU]
MenuGroups=AQUA:AQUA:20:50
in mns:
***MENUGROUP=AQUA
***POP20
**AQUA
Thanks,
Ron
-
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?
-
No takers?
-
You should definitely not be using the same .mns file for 2004 as 2002.
-
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.
-
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).
-
That was me, I thought I was logged in :)
-
Hey Byron (or any one else),
How do I get my installer to recognize a version already installed and automatically uninstall it?
Thanks,
Ron