Page 2 of 2

Re: Business application package

Published: May 4, 2017 - 11:12
by fludo67
You can remove the /quiet, it's redundant with /qn

Re: Business application package

Published: May 4, 2017 - 11:18
by fludo67
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).

Re: Business application package

Published: May 4, 2017 - 11:23
by Killian
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?

Re: Business application package

Published: May 4, 2017 - 11:34
by agauvrit
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

Re: Business application package

Published: May 4, 2017 - 11:55 AM
by Killian
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!

Re: Business application package

Published: May 4, 2017 - 2:49 PM
by Killian
I just had one last question about how to confirm an uninstallation.

Thank you.