Start installed setup with msiexec command-line - Advanced Installer Community
ChapterOne
Posts: 7
Joined: Fri Feb 01, 2013 9:48 am

Start installed setup with msiexec command-line

I've a problem with the Surface theme. If I start the already installed setup again with the following command-line, the themed UI is totally broken:

Code: Select all

msiexec /i {product code}
{product code} is the code of the installed setup.

If I try this command-line with a installation that was build with Classic theme it looks good.
I will make a start menu shortcut from the installation with that the user can call Modify|Repair|Remove installation directly.

I use the Advanced Installer 11.7.1 with the WhiteSurface theme and can reproduce this behavior under Windows 7 64 bit.
The setup is a mixed 32/65-bit installation.

I also watched the calling processes if the installed setup was called from Windows Edit/Remove program.
There are 2 processes in the Windows Task manager:
  • msiexec.exe*32 with command-line: (xyz is a random string each time that the setup is called)

    Code: Select all

    C:\Windows\syswow64\MsiExec.exe -Embedding xyz
    Setup.exe*32 with command-line:

    Code: Select all

    "C:\ProgramData\Caphyon\Advanced Installer\{product code}\Setup.exe" /I {product code}
Is there another way to call the installed setup from a start menu shortcut to modify installation, by the way, to show the correct Surface theme UI?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Start installed setup with msiexec command-line

Hi,

To achieve this, you can create an "Uninstall" shortcut in the "Files and Folders" page of your project and set the "/i [ProductCode]" arguments for it. Also, you need to go in the "Themes" page, "Settings" tab and check the "Always (install, uninstall and maintenance)" option.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”