×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PMP Installer

PMP Installer

PMP Installer

(OP)
Hi everyone,
Can someone point me the right direction? I can make an PMP from the wizard and do whatever I want to but I can't install on other computers. and installing visual and compiling on every computer doesn't seems a good thing. If someone could change the wizard and include the installer it will be great. Especially in C# but vb.net is fine either.

Thanks
Emerson

RE: PMP Installer

(OP)
Property manager Page

RE: PMP Installer

I know what the Property manager is in Solidworks (never heard if called the PMP though), but I don't understand your question. The Property Manager is just the tool that propagates when you are in a command or a sketch, etc... I don't know what your taking about when you say:

Quote (I can make an PMP from the wizard and do whatever I want to but I can't install on other computers. and installing visual and compiling on every computer doesn't seems a good thing.)


Anything that Solidworks has done in the coding of the install of SW to control the PMP, is just that. you will have to turn in a Enhancement Request for your idea to be considered within the customer portal of Solidworks. Then other people are going to have to agree with you and turn in the same issue. So without good clarification of what you want or what your trying to do there is little anyone can do, but even more so if you want the coding changed inside of Solidworks and the installation of Solidworks to be changed to fit your needs.

Regards,

Scott Baugh, CSWP pc2
www.superATV.com
www.scottjbaugh.com

Quote:

"If it's not broke, Don't fix it!"
FAQ731-376: Eng-Tips.com Forum Policies

RE: PMP Installer

(OP)
I'll try to explain better, Sorry for the lack of information.
I want to make an Add-in using the wizard like in using the SolidWorks C# Add-in Template and I can do Whatever I want using the API , but i Have a hard time to reuse it in another computer, the only way I can do it is installing visual studio and then run the program. What I want is a installer for my Add-in or a step by step explain how can I manually install it in other computers. If someone could change the wizard and include the installer it will be great, everybody could reuse the wizard with the installer.

Hope this clarify the question.

And thanks in advance. bigsmile

RE: PMP Installer

Not sure if this will work but its worth looking into it. I use the Admin image to install SW on multiple PC's all at once and they are all setup the same in the beginning. There is an option to "Run a program before and after the installation". I use a bat file to remove and re-add some registry keys both before and after the installation. Maybe you could write some sort of *.bat file that would install your add-in. That is of course if you use the admin image. I don't think the standard install of Solidworks allows anyone to install anything separate when doing each PC independently, but I might be mistaken since I have not installed Solidworks like that in many, many years.

I hope this helps,

Scott Baugh, CSWP pc2
www.superATV.com
www.scottjbaugh.com

Quote:

"If it's not broke, Don't fix it!"
FAQ731-376: Eng-Tips.com Forum Policies

RE: PMP Installer

(OP)
I could try that. Could you send me the .bat file you use?

RE: PMP Installer

My *.bat file is just renaming the Toolbox location from the server to a local location, then after the install it points it back to the server location. I attached the files, however I don't know how much good they will do for you. You will want to research script writing.

Kind regards,

Scott Baugh, CSWP pc2
www.superATV.com
www.scottjbaugh.com

Quote:

"If it's not broke, Don't fix it!"
FAQ731-376: Eng-Tips.com Forum Policies

RE: PMP Installer

(OP)
No. I meant the SwCSharpAddin. Part of the API that comes with Solidworks.



You can see the picture attached. In this case is a Macro to review the code or to saveas some part or assembly to reuse in other project. The drop box are automatic filled with the folder names in the server. It's really cool.

And I Did make it work. glasses

What I did was copy the files from the folder Release to the user folder of every computer and register it using command lines, and to make it simple I use sBaugh sugestion with a .bat file

content of file is.

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns\{255b57fa-fd0a-419a-bd60-6cce2f4e5de1}" /v "(Padrão)" /t REG_DWORD /d 1


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns\{255b57fa-fd0a-419a-bd60-6cce2f4e5de1}" /v "Description" /t REG_SZ /d "Kopempack"


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns\{255b57fa-fd0a-419a-bd60-6cce2f4e5de1}" /v "Title" /t REG_SZ /d "Kopempack"

net use X: \\winserver\Projetos
COPY "X:\_TEMPLATES\AddinFiles\*.*" "C:\Users\" /Y


C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe C:\Users\SwCSharpKOPEMPACK.dll /tlb /codebase
pause

Some key points for those Who want to do it is to verify witch framework you are using, the file path in the last command changes and make sure the GUID is correct.

Thanks for all.

RE: PMP Installer

I was on the same page as CBL.

Chris, CSWA
SolidWorks 14
SolidWorks Legion

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources