Page 1 of 2
Business application package
Published: May 3, 2017 - 2:37 PM
by Killian
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.
Re: Business application package
Published: May 3, 2017 - 3:00 PM
by agauvrit
For creating packages, I recommend following the tutorial in our documentation:
https://www.wapt.fr/fr/doc/CreationPaquets/index.html
Re: Business application package
Published: May 3, 2017 - 3:02 PM
by Killian
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
Re: Business application package
Published: May 3, 2017 - 5:45 PM
by Floflobel
Hello,
can you describe the installation steps?
Re: Business application package
Published: May 4, 2017 - 8:36 AM
by Killian
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.
Re: Business application package
Published: May 4, 2017 - 10:05 AM
by Killian
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 ''
Re: Business application package
Published: May 4, 2017 - 10:50 AM
by fludo67
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.
Re: Business application package
Published: May 4, 2017 - 10:54 AM
by Killian
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.
Re: Business application package
Published: May 4, 2017 - 11:01
by fludo67
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)
Re: Business application package
Published: May 4, 2017 - 11:05 AM
by Killian
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