Business application package

Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
fludo67
Messages: 21
Registration: Sep 13, 2016 - 2:23 p.m.

May 4, 2017 - 11:12

You can remove the /quiet, it's redundant with /qn
fludo67
Messages: 21
Registration: Sep 13, 2016 - 2:23 p.m.

May 4, 2017 - 11:18

In setup.py, you can use the `install_msi_if_needed` command, which by default launches the MSI in silent mode

Code: Select all

def install():
	print('Install Solid Edge ST8')
	install_msi_if_needed('Solid Edge ST8.msi',min_version="",timeout=300)
	print uninstallkey
The advantage of this function is that you don't have to worry about the uninstallation key (you leave uninstallkey=[] and the function fills it in automatically).
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 11:23

fludo67 wrote:In setup.py, you can use the `install_msi_if_needed` command, which by default launches the MSI in silent mode

Code: Select all

def install():
	print('Install Solid Edge ST8')
	install_msi_if_needed('Solid Edge ST8.msi',min_version="",timeout=300)
	print uninstallkey
The advantage of this function is that you don't have to worry about the uninstallation key (you leave uninstallkey=[] and the function fills it in automatically).


I did a debug and I'm getting a syntax error:

Code: Select all

print uninstallkey
And all that's needed is to enter that to allow the package to be installed?
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

May 4, 2017 - 11:34

Hi Killian,

A quick search on the silent installation method for SolidEdge might help: https://allyplm.com/2017/02/solid-edge- ... -silently/

Also, to observe what's actually happening, you can use Process Explorer from Microsoft SysInternals (which I just updated): https://wapt.tranquil.it/package_detail ... 3_all.wapt
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 11:55

I had looked at this interesting site but I didn't understand the link with the .py file, but now it's all OK, thank you!
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 2:49 PM

I just had one last question about how to confirm an uninstallation.

Thank you.
Locked