ijnicholas
2008-03-21, 01:38 PM
Sometime back I created a custom utility to install revit command and uploaded at http://forums.augi.com/showthread.php?t=67696
Here is a tweaked version of this that might help CAD Managers. This utility installs a bunch of DLLs in a system. I hope this is useful.
###############################################################
Warning:
###############################################################
This software was created for our office use and it works fine
for us. Use it at your own risk. There is no warranty. If you
find any bug or if you have any suggestions / comments,
please report to me at the above email address. If you find it
useful, please feel free to use/distribute it.
Please read the “What it does” section below before using the exe file.
The ZIP file does not come with DLL files.
General Info:
###############################################################
This exe makes it easy to install the custom commands (DLL files
created for Revit. CAD Managers can copy all the DLLs along with
a INI and the exe file to a network folder. Users can install
Revit commands by just double clicking the EXE file. CAD Managers
can also run this exe within a Windows Login script.
Included Files:
###############################################################
Install Custom Commands.exe
Install Custom Commands.ahk
sample.ini
Readme.txt (this file)
How to use this:
##############################################################
1. Copy all DLLs to be installed in a network folder.
2. Create an INI file based on the attached "sample.ini" in
the same folder.
All the keys in the "[ExternalCommands]" section from
this INI file will be copied and appended to Revit.ini
3. Copy the "Install Custom Commands.exe" to the same network folder.
4. Run "Install Custom Commands.exe"
What it does:
###############################################################
1. The EXE file reads the sample INI file in the same folder.
2. If RAC 2008 is not installed, quits running.
2. If RAC is open, asks it to be closed.
3. Copies the content of the sample INI file.
4. Backups and reads Revit.ini (RAC2008)
4. Removes all external commands already installed.([ExternalCommands])
This is done to maintain standards.
5. Removes user info from ini ([partitions])
This is done to make the Revit user info and the Windows logon
to be the same.
5. Appends the copied content from step 2 to Revit.ini.
6. Copies all DLL files found in the network folder to the folder
"C:\Program Files\Revit Architecture 2008\API"
To customize the EXE file:
###############################################################
The code is contained in the file "Install Custom Commands.ahk"
This is a text file. For more info check www.autohotkey.com.
You can customize anything and everything.
Here is a tweaked version of this that might help CAD Managers. This utility installs a bunch of DLLs in a system. I hope this is useful.
###############################################################
Warning:
###############################################################
This software was created for our office use and it works fine
for us. Use it at your own risk. There is no warranty. If you
find any bug or if you have any suggestions / comments,
please report to me at the above email address. If you find it
useful, please feel free to use/distribute it.
Please read the “What it does” section below before using the exe file.
The ZIP file does not come with DLL files.
General Info:
###############################################################
This exe makes it easy to install the custom commands (DLL files
created for Revit. CAD Managers can copy all the DLLs along with
a INI and the exe file to a network folder. Users can install
Revit commands by just double clicking the EXE file. CAD Managers
can also run this exe within a Windows Login script.
Included Files:
###############################################################
Install Custom Commands.exe
Install Custom Commands.ahk
sample.ini
Readme.txt (this file)
How to use this:
##############################################################
1. Copy all DLLs to be installed in a network folder.
2. Create an INI file based on the attached "sample.ini" in
the same folder.
All the keys in the "[ExternalCommands]" section from
this INI file will be copied and appended to Revit.ini
3. Copy the "Install Custom Commands.exe" to the same network folder.
4. Run "Install Custom Commands.exe"
What it does:
###############################################################
1. The EXE file reads the sample INI file in the same folder.
2. If RAC 2008 is not installed, quits running.
2. If RAC is open, asks it to be closed.
3. Copies the content of the sample INI file.
4. Backups and reads Revit.ini (RAC2008)
4. Removes all external commands already installed.([ExternalCommands])
This is done to maintain standards.
5. Removes user info from ini ([partitions])
This is done to make the Revit user info and the Windows logon
to be the same.
5. Appends the copied content from step 2 to Revit.ini.
6. Copies all DLL files found in the network folder to the folder
"C:\Program Files\Revit Architecture 2008\API"
To customize the EXE file:
###############################################################
The code is contained in the file "Install Custom Commands.ahk"
This is a text file. For more info check www.autohotkey.com.
You can customize anything and everything.