Upgrade DraftSight Standalone installation via command line.

DraftSight upgrade process involves:

  • Transferring\\deactivating the DraftSight license (Optional)
  • Uninstalling existing DraftSight version. (Optional)
  • Extracting and Installing new DraftSight version
  • Reactivating the license


To  transfer\\deactivate the DraftSight license:  

"C:\\Program Files\\Dassault Systemes\\DraftSight\\bin\\setup\\i386\\Swactwiz.exe" /auto /primprod:draftsight /initdialog:trans /silent /force /emailaddress:abc@test.com /log:c:\\temp\\transfer.log


Enter your email address for emailaddress field. Make sure you have temp directory under C drive and have full access to it.


To uninstall existing DraftSight version use below syntax:


MsiExec.exe /X{A5E07ACD-6ACE-4B3A-8B4A-22C2AB9BE6DC}


A5E07ACD-6ACE-4B3A-8B4A-22C2AB9BE6DC is a product code for DraftSight 2021. Users will need to use different code based on version that they want to uninstall.

This can be found at: Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall and search for ‘DraftSight’ and copy the value data for ‘UninstallString’.

Installing new DraftSight version:

Before proceeding with product installation its required to extract the DraftSight.exe downloaded from website. To do this:


C:\\DraftSight64.exe /c /t:c:\\DraftSight


In this case DraftSight.exe is kept at C drive.  Users can change this location as per their requirements.


To install the product:


msiexec.exe /i c:\\DraftSight\\DraftSight.msi /qb INSTALLDIR="C:\\Program Files\\Dassault Systemes\\DraftSight"


DraftSight installation location will be “C:\\Program Files\\Dassault Systemes\\DraftSight". This can be changed by using different folder information for INSTALLDIR.


Activating the license:


"C:\\Program Files\\Dassault Systemes\\DraftSight\\bin\\setup\\i386\\Swactwiz.exe" /auto /primprod:draftsight /initdialog:act /silent /force /emailaddress: abc@test.com /log:c:\\temp\\activate.log


Enter your email address for emailaddress field.



Note: Download this sample .bat file for DraftSight upgrade created to uninstall DraftSight 2021 version and which includes all above steps.

Please change folder paths and email address as per your requirements before using it.