Forums

[scripts] AutoCAD

Auteur Réponses
Jump to the page: 1 - 2 - 3
NSLW Jeudi 26 Mars 2009 à 9:04
NSLW

Hello,
I've made scripts which will install AutoCAD. All scripts do their work however you need POL Helper plug-in for some. AutoCAD 2008 and 2005 were extensively tested. In other cases only basic functionality was tested.

To install using one of those scripts you have to copy its content to file on your hard disk and then run it from POL by Tools->Run a non-official script

To copy one of the script contents quote post with script for your desired AutoCAD and then copy what will appear in quote window (from "#!/bin/bash" to exit) it is because forum does interpret backlash n as newline symbol.

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:04
NSLW

AutoCAD R14

For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:05
NSLW

AutoCAD 2000

For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:06
NSLW

AutoCAD 2002

For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:07
NSLW

AutoCAD 2004

for script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:08
NSLW

AutoCAD 2005

For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:09
NSLW

AutoCAD 2006
For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:10
NSLW

AutoCAD 2008

For script go here

Edité par NSLW

NSLW Jeudi 26 Mars 2009 à 9:11
NSLW

AutoCAD Mechanical 2008

For script go here

Edité par NSLW

Quentin PÂRIS Jeudi 26 Mars 2009 à 19:11
Quentin PÂRISAnonymous

I think it's not a good idea to force pol helper.

PlayOnLinux's goal is not to say to the user what he have to do.

Your script should download winetricks and rund it, that's very easy
NSLW Jeudi 26 Mars 2009 à 19:19
NSLW

Oh..
If i would know that i would did so.
You've got right. When i'll have got more time i think about rewriting my scripts. I would like to notice that in case of AutoCAD 2004 and AutoCAD 2005 it isn't possible though because of registration possibility.
Will you explain in coming documentation how to use winetricks in installing scripts? I think it would be very helpful.
Quentin PÂRIS Jeudi 26 Mars 2009 à 19:22
Quentin PÂRISAnonymous

Hum, that's not very clear. I think I will integrate it on POL in the next version. For the moment, that's very easy :

# Exemple with winetricks
wget http://www.kegel.com/wine/winetricks
bash winetricks -q comctl32 comctl32.ocx corefonts gdiplus gecko msls31 msxml3 msxml4 msxml6 riched20 riched30 tahoma
NSLW Jeudi 26 Mars 2009 à 21:16
NSLW

I thought about it more and in my opinion it's good idea when there is not much to download and to install.
In other case the user will have to wait and he doesn't know what is happening and how long should he wait. So it is the bad site of this solution.

I think it's not a good idea to force pol helper

Quote from Tinou


I would not used POL Helper if i would knew the ways of doing things with plain POL.
Quentin PÂRIS Jeudi 26 Mars 2009 à 21:32
Quentin PÂRISAnonymous

Ok, If you prefer

# Exemple with winetricks
POL_SetupWindow_wait_next_signal "PlayOnLinux is installing winetricks programs on your prefix" "Title of your script"
wget http://www.kegel.com/wine/winetricks
bash winetricks -q comctl32 comctl32.ocx corefonts gdiplus gecko msls31 msxml3 msxml4 msxml6 riched20 riched30 tahoma
POL_SetupWindow_detect_exit


Believe me, it's better. If a grandmother use your script to install your program, she will not understand anything whereas with my solution, all is done automaticaly.
NSLW Jeudi 26 Mars 2009 à 21:42
NSLW

It would be nice to see progress of downloading 24 MiB .NET Framework 2.0 on 256 kbps bandwidth (not my case but i think about the worst). Don't you think.
User won't wait half hour seeing
PlayOnLinux is installing winetricks programs on your prefix" "Title of your script"
I would think the program hangs.
It is still an half solution as with POL Helper.

Edité par NSLW

Quentin PÂRIS Jeudi 26 Mars 2009 à 22:30
Quentin PÂRISAnonymous

POL helper is a quarter of solution ;)

If you prefer, you can use POL_SetupWindow_download to download .NET Framework
NSLW Jeudi 26 Mars 2009 à 23:00
NSLW

The reason why i don't like to use POL_SetupWindow_download to download .NET Framework is that it doesn't use cache like winetricks and with every installation I have to wait some time. I think the user with 256 kbps bandwidth thinks the same.
With winetricks i can copy already downloaded .NET Framework to cache and winetricks will use it so it's practical. Is there anything i don't know about POL_SetupWindow_download caching?

Edité par NSLW

Quentin PÂRIS Jeudi 26 Mars 2009 à 23:18
Quentin PÂRISAnonymous

Yes

cd $REPERTOIRE/ressources/file.exe
if [ ! -e "$REPERTOIRE/ressources/file.exe" ]
then
 POL_SetupWindow_download "Message" "Title" "http://www.website.com/file.exe"
fi


This directory was made for that. You can also check md5 sum if you wish
NSLW Vendredi 27 Mars 2009 à 11:16
NSLW

POL helper is a quarter of solution ;)

Quote from Tinou

My friend says you are kidding/making laugh/making jokes out of me . Why is POL Helper quarter of solution and not half of solution?

btw.
I modified AutoCAD 2006 script to use winetricks and POL_SetupWindow_download. In my opinion it looks better now however the script is very lengthen out. Probably i'll make other scripts look alike.

Edité par NSLW

Quentin PÂRIS Vendredi 27 Mars 2009 à 12:03
Quentin PÂRISAnonymous


My friend says you are kidding/making laugh/making jokes out of me . Why is POL Helper quarter of solution and not half of solution

Quote from NSLW


Because POL Helper is more a tool foor advanced user. Your script was as if I made a script like that :

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_presentation "My script" "My title" "ect.."
POL_SetupWindow_message "First, download the application www.website.com" "My script"

POL_SetupWindow_message "Now, open a terminal and type 'EXPORT wineprefix = $HOME/.PlayOnLinux/wineprefix/appname'"

POL_SetupWindow_message "Then, type wine my_file.exe" 

# ect...


You see it's a non-sense

PoL's aim is to do all automatically, not to say to the user "You have to do that and it will work"

I'm just trying to explain you that, not to jokes out of you

Edité par Tinou

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com