cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
guilhermerezend
Level 2

Run custon install on command prompt, instaling selected features?

Jump to solution

Hello.

I have an InstallShield project that generates an .MSI installer with 3 portals, each one being a Feature in the ISM project.
I need help on how to handle this project so that it is possible run a custom installation on command prompt choosing, also via command line, which portals (Features) I like to install.
Or can anyone help by guiding which syntax to use in DOS to install the way you want?

Thank you in advance

 
 

 

Labels (1)
0 Kudos
1 Solution
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hello @guilhermerezend!

Thank you for your reply.

Please accept our apologies for the confusion.

I understand that your installer is not generating an error.

Is my understanding correct that you are trying to pass the feature names to msiexec for your MSI?

If so, you could try:

msiexec.exe /i "C:\MyInstaller.msi" ADDLOCAL=WebSite1,WebSite2

where C:\ is the path to the MSI.

Here is a link to the official Microsoft documentation about msiexec.exe, the main Windows Installer executable:

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec

Here is a link to the official Microsoft documentation about the ADDLOCAL public MSI property:

https://docs.microsoft.com/en-us/windows/win32/msi/addlocal

Please let us know if you have any questions or concerns. Thanks!

View solution in original post

3 Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hello @guilhermerezend.

Thank you for your post.

Could you please follow these steps to generate a verbose MSI install log?

1. In the Windows Registry Editor, create the following Windows Registry entries:

Path: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Type: Reg_SZ
Value: Logging
Data: voicewarmupx

per the documentation at the following link:

https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/enable-windows-installer-logging

2. Run your installer that reproduces the issue.
3. Reproduce the issue.
4. Zip up the MSI*****.LOG file in your %TEMP% folder, where ***** resolves to random letters and numbers.
5. Provide the ZIP file containing the verbose MSI install log in a private message.

Please let us know if you have any questions or concerns. Thanks!

0 Kudos
Helo Ian!

My installer is not having an error.
What happens is that some customers need to do the installation through DOS
Prompt (this I know how to do, using the command "msiexec /i
"myInstaller.msi"), however, they need to perform a custom installation,
selecting what you want to install (I don't know how to do this).
[image: 11-assinatura-email-logo-totvs.gif] [image:
09-assinatura-email-grafsmo.gif]
*Guilherme Sana Rezende /ENGENHARIA DE SOFTWARE*
Totvs Belo Horizonte

(03) 12122-9706 / <20997500>
* guilherme.rezende@totvs.com.br *
totvs.com
store.totvs.com

*A TOTVS acredita no Brasil que Faz *

<>

--
*
*
*AVISO LEGAL:* Esta mensagem, incluindo seus anexos, é destinada
exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter
informação confidencial e/ou privilegiada. Se você não for destinatário
desta mensagem, desde já fica notificado de abster-se de utilizar a
informação contida nesta mensagem de qualquer forma, sujeitando o infrator
às penas da lei; notificar o remetente e eliminar o seu conteúdo de forma
definitiva. Informações transmitidas por e-mail podem ser alteradas por
terceiros, não havendo garantia de que sua integridade foi mantida e que
esteja livre de vírus, interceptação ou interferência, não podendo ser
imputada qualquer responsabilidade à TOTVS com relação ao seu conteúdo;


*LEGAL NOTICE:* This message, including its attachments, is intended
exclusively for the people to whom it is addressed, and may contain
confidential and/or privileged information. If you are not a recipient of
this message, you are hereby notified to refrain from using the information
contained in this message, subjecting the infringer to the penalties of the
law. Information transmitted by e-mail may be changed by third parties, and
there is no guarantee that its integrity has been maintained and that it is
free of viruses, interception or interference, and no responsibility will
be attributed to TOTVS in relation to its content;


*AVISO LEGAL:* Este
mensaje, incluyendo sus anexos, está destinado exclusivamente a las
personas a quienes se dirige, y puede contener información confidencial y /
o privilegiada. Si usted no es un destinatario de este mensaje, por la
presente se le notifica que se abstenga de usar la información contenida en
este mensaje, sometiendo al infractor a las penas de la ley. La información
transmitida por correo electrónico puede ser modificada por terceros, y no
hay garantía de que su integridad ha sido mantenida y que está libre de
virus, interceptación o interferencia, y ninguna responsabilidad será
atribuida a TOTVS en relación con su contenido.
0 Kudos
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hello @guilhermerezend!

Thank you for your reply.

Please accept our apologies for the confusion.

I understand that your installer is not generating an error.

Is my understanding correct that you are trying to pass the feature names to msiexec for your MSI?

If so, you could try:

msiexec.exe /i "C:\MyInstaller.msi" ADDLOCAL=WebSite1,WebSite2

where C:\ is the path to the MSI.

Here is a link to the official Microsoft documentation about msiexec.exe, the main Windows Installer executable:

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec

Here is a link to the official Microsoft documentation about the ADDLOCAL public MSI property:

https://docs.microsoft.com/en-us/windows/win32/msi/addlocal

Please let us know if you have any questions or concerns. Thanks!