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
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 3, 2017 - 2:37 PM

I need to create a package for a business application, but I have no idea how to do it because the setup interacts with surrounding files; it's not a single .exe or .msi.

Thanks.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

May 3, 2017 - 3:00 PM

For creating packages, I recommend following the tutorial in our documentation:
https://www.wapt.fr/fr/doc/CreationPaquets/index.html
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 3, 2017 - 3:02 PM

agauvrit wrote:For creating packages, I recommend following the tutorial in our documentation:
https://www.wapt.fr/fr/doc/CreationPaquets/index.html

Thank you, but I can create a package for all "small software" like Firefox, Chrome, etc., using their simple .exe or .msi files, but it's not the same for a business application
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

May 3, 2017 - 5:45 PM

Hello,

can you describe the installation steps?
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 08:36

I have a setup.exe that acts on an .msi as well as on ancillary files, I have already tried to create a package from the exe or the msi but it does not work.
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 10:05

When I tried to install it today, I ran the command `wapt-get make-template`, then I put everything in the waptdev folder and ran the command `wapt-get build-upload`. I then launched it and got this error:

Code: Select all

installing solidedge
TimeoutExpired: Command '"setup.exe" /VERYSILENT' timed out after 300 seconds with output ''
fludo67
Messages: 21
Registration: Sep 13, 2016 - 2:23 p.m.

May 4, 2017 - 10:50

Hello,

I'm not sure if the application's setup.exe supports the /verysilent flag.
Here's something to test: run the command `
setup.exe /verysilent`

and check if the installation is truly silent. If it launches the program in normal mode (with dialog boxes), that explains the timeout.
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 10:54

fludo67 wrote:Hello,

I'm not sure if the application's setup.exe supports the /verysilent flag.
Here's something to test: run the command `
setup.exe /verysilent`

and check if the installation is truly silent. If it launches the program in normal mode (with dialog boxes), that explains the timeout.
When you run setup.exe /verysilent, a window opens with the following text inside:

Code: Select all

Windows ® Installer version 5.0.7601.23446

msiexec /Option <Paramètre requis> [Paramètre facultatif]

Options d'installation

	</package | /i> <Produit.msi>
		Installe ou configure un produit
	/a <Produit.msi>
		Installation administrative - Installe un produit sur
		le réseau
	/j<u|m> <produit.msi> [/t <Liste de transformations>]
		[/g <ID de langue>]
		Publie un produit - m pour tous les utilisateurs,
		u pour l'utilisateur actuel
	</uninstall | /x> <Produit.msi | Code produit>
		Désinstalle le produit

Options d'affichage

	/quiet
		Mode silencieux, aucune interaction avec
		l'utilisateur
	/passive
		Mode automatique - barre de progression
		uniquement
	/q[n|b|r|f]
		Définit le niveau d'interface utilisateur
		n - Pas d'interface utilisateur
		b - IU de base
		r - IU réduite
		f - IU complète (option par défaut)
	/help
		Affiche des informations

Options de redémarrage

	/norestart
		Ne pas redémarrer à la fin de l'installation
	/promptrestart
		Proposer à l'utilisateur de redémarrer si
		nécessaire
	/forcerestart
		Toujours redémarrer l'ordinateur après
		l'installation

Options de journalisation

	/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <fichier journal>
		i - Messages d'état
		w - Avertissements récupérables
		e - Tous les messages d'erreur
		a - Démarrage des actions
		r - Enregistrements spécifiques à certaines
		    actions
		u - Requêtes de l'utilisateur
		c - Paramètres initiaux de l'interface utilisateur
		m - Mémoire insuffisante ou informations de
		    sortie irrécupérables
		o - Message d'espace disque insuffisant
		p - Propriétés du terminal
		v - Mode documenté
		x - Autres informations de débogage
		+ - Ajouter au fichier journal existant
		! - Forcer l'écriture de chaque ligne dans le
		    journal
		* - Écrire toutes les informations, sauf les
		    options v et x
	/log <Fichier journal>
		Identique à /l* <Fichier journal>

Options de mise à jour

	/update <Mise_à_jour_1.msp>[;Mise_à_jour_2.msp]
		Applique les mises à jour
	/uninstall <Guide du code correctif>[;Update2.msp] /package <Product.msi
		| Code produit>
		Supprimer les mises à jour d'un produit

Options de réparation

	/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | Code produit>
		Répare un produit
		p - uniquement si un fichier est manquant
		o - si un fichier est manquant ou si une version
		    antérieure est installée (option par défaut)
		e - si un fichier est manquant ou si une version
		    égale ou antérieure est installée
		d - si un fichier est manquant ou si une version
		    différente est installée
		c - si un fichier est manquant ou si la somme de
		    contrôle ne correspond pas à la valeur
		    calculée
		a - force la réinstallation de tous les fichiers
		u - toutes les entrées de Registre requises et
		    spécifiques à l'utilisateur
		    (option par défaut)
		m - toutes les entrées de Registre requises et
		    spécifiques à l'ordinateur
		    (option par défaut)
		s - tous les raccourcis existants
		    (option par défaut)
		v - s'exécute depuis la source et remet en
		    mémoire cache le package local

Définition des propriétés publiques

	[PROPERTY=valeur de la propriété]

Consultez le Kit de développement Windows® Installer pour une aide
détaillée concernant la syntaxe de la ligne de commande.

Copyright © Microsoft Corporation. Tous droits réservés.
Certaines parties de ce logiciel sont basées sur des documents
créés par la société indépendante JPEG Group.
fludo67
Messages: 21
Registration: Sep 13, 2016 - 2:23 p.m.

May 4, 2017 - 11:01

Okay... so setup.exe extracts MSI files.
In that case, you can try the following:

1) Run setup.exe normally.
2) Once the installer has launched, go to the temporary directory
(Windows + R, run the command %temp%).

In the %temp% directory, there should be several folders. The program's MSI file is in one of them.

If there are multiple folders, you'll need to search. Clean the temp directory before launching the program, so you don't waste time (with CCleaner, for example).

%temp% = c:\users\your_user\appdata\local\temp (on Windows 7/10)
Killian
Messages: 38
Registration: May 3, 2017 - 11:19

May 4, 2017 - 11:05

I was thinking of placing an order like this

Code: Select all

MsiExec.exe /i "C:\Solid Edge\Solid Edge ST8.msi" /quiet /qn /norestart
Locked