cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

MSVS 2013 repair dialog with every MSI built

Wed Oct 30, 2013 10:42 pm

I get this whether building from the CLI or via the GUI, but here's the CLI output:

Building package (de): product.msi
Preparing files... done.
Creating CAB file(s)... done.
Creating MSI database... done.
Inserting CAB file(s) into MSI... done.
Writing Summary Information... done.

At that point in every generation of the language-specific MSI's, I get a Visual Studio dialog (see attached). I'm pretty sure it's the Visual Studio 2013 package self-repairing itself. It eventually goes away on its own, but it definitely slows down my build process.

Anybody else seeing this?
Attachments
screenshot.png
screenshot.png (5.4KiB)Viewed 12757 times

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 01, 2013 8:27 am

Hello,

I'm not sure why you encountered this behavior.
Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.
Also you should take a look on the “Windows event viewer” log where you might see what is triggering the self-repair.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 01, 2013 5:35 pm

I was unable to reproduce this on a second build machine, so it's just something about that first machine's installation of VS. Thanks for the prompt response. I'll fix whatever it is.

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact:  Website

Re: MSVS 2013 repair dialog with every MSI built

Thu Nov 28, 2013 2:21 pm

Hello,

I'm just experimenting the same behavior, but with Visual Studio 2012 (see picture). I first got this issue with AI version 10.7. I have updated to AI 10.7.1 but the issue is still there.
VS.jpg
VS Problem
VS.jpg (21.08KiB)Viewed 12684 times
The project was actually not modified before and after the problem appeared the first time, only files where updated and the project was recompiled. Do you have any tip to resolve this?

Thanks in advance,
Keneth.

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 29, 2013 11:27 am

Hi Keneth,

I'm not sure why you encountered this behavior.

Can you please try to test on another build machine and see if the behavior still persist?
Also you can take a look on the “Windows event viewer” log where you might see what is triggering the self-repair.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact:  Website

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 29, 2013 12:49 pm

Hello Dan,

thanks for your reply. Checking more closer at the time when the window of visual studio appears I have noted that this happens while merge modules are added. (The issue happened between the steps with Text "Writing Summary Information" and "Adding merge modules". Those merge modules are also written/compiled with AI. They use a standard dll for custom actions which is written in Visual Studio 2008. Compiling the merge modules not shown any problem. Only when compiling the host installation (Mixed 32/64 bit, i.e. containing two merge modules).

I have started the compile process again and following information was included in the Windows Log (German):
  • Erkennung von Produkt "{93489CA8-6656-33A0-A5AC-E0EDEDB17C3E}", Feature "Visual_Studio_Professional_x86_enu" und Komponente "{480880B9-1E51-43EE-8CBE-5B448D59B5C7}" fehlgeschlagen.
  • Erkennung von Produkt "{93489CA8-6656-33A0-A5AC-E0EDEDB17C3E}" und Feature "Visual_Studio_Professional_x86_enu" fehlgeschlagen beim Anfordern von Komponente "{FD153241-37EC-11D2-8892-00A0C981B015}".
  • Eine Windows Installer-Transaktion wird gestartet: {93489CA8-6656-33A0-A5AC-E0EDEDB17C3E}. Clientprozess-ID: 6456.
  • Product: Microsoft Visual Studio Professional 2012 -- Configuration completed successfully.
  • Das Produkt wurde durch Windows Installer neu konfiguriert. Produktname: Microsoft Visual Studio Professional 2012. Produktversion: 11.0.50727. Produktsprache: 1033. Hersteller: Microsoft Corporation. Erfolg- bzw. Fehlerstatus der neuen Konfiguration: 0.

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 29, 2013 2:45 pm

Hi Keneth,

Can you please make sure that the related .msm which is referenced exists on the machine?
Also can you please give us more details about that .msm file and a test case scenario so we can investigate this?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact:  Website

Re: MSVS 2013 repair dialog with every MSI built

Fri Nov 29, 2013 3:36 pm

Dan wrote:Can you please make sure that the related .msm which is referenced exists on the machine?
YES, definitely. The compiling process ends sucessfull and the resulting exe can be installed on different computers with different OS and platfforms. It works as it should. The merged drivers are also installed sucessfully.
Dan wrote:Also can you please give us more details about that .msm file and a test case scenario so we can investigate this?
About the msm(s):
We use the msms to install own drivers. The merge modules contain *.inf, *.cab, and *.sys files. An own written msi standard Dll is used for handling custom actions that install the drivers. The DLL is written using Visual Studio 2008. The msms are created using Advanced Installer too. Compiling the msms don't generate any issue.

About the Installation project:
This is a mixed 32/64 Bit project who contains two msms (driver installation for each plattform). Despite of the VS Issue the project compiling process finish sucessfully and the resulting exe work propertly. THe issue appears only at AI compile time.

I will try to generate a test project using the merge modules...

McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact:  Website

Re: MSVS 2013 repair dialog with every MSI built

Mon Dec 02, 2013 9:42 am

Hello,

I have sent a demo project and files to your support email.

Thanks for looking at it,
Keneth.

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSVS 2013 repair dialog with every MSI built

Tue Dec 03, 2013 2:24 pm

Hi Keneth,

Unfortunately we cannot replicate this behavior, therefore I'm afraid we don't have a conclusive answer on what triggers the self-repair of the Microsoft Visual.

You can also take a look on the Problem with 8.4 forum thread which debates a similar issue.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Re: MSVS 2013 repair dialog with every MSI built

Thu Oct 09, 2014 10:29 pm

I installed VS 2013 today and encountered the same problem. I used the same solution when I had this problem a few years ago (registering mergemod.dll):

http://www.advancedinstaller.com/forums ... =2&t=11145

I have several copies of this DLL, but just used the same one as before.

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSVS 2013 repair dialog with every MSI built

Tue Oct 14, 2014 9:04 am

Hello,

Is your machine clean too? As said before, we cannot replicate this behavior, therefore I'm afraid we don't have a conclusive answer on what triggers the self-repair of the Microsoft Visual.

Can you please check on a clean machine and see if the behavior still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Re: MSVS 2013 repair dialog with every MSI built

Tue Dec 02, 2014 12:57 am

Sorry, didn't get a notification. No, this is not a clean machine. Everything was working fine, but this problem started up again today. I installed VS 2013 Update 4 last week, so that is likely what triggered it.

jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Re: MSVS 2013 repair dialog with every MSI built

Wed Dec 03, 2014 8:41 pm

For anyone who finds this, the most recent dll's still work for fixing this:

regsvr32 /u "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mergemod.dll"
regsvr32 "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mergemod.dll"

Return to “Common Problems”