package takes very long to install or un-install

Sam Nass's picture

Hi Guys,

I have created a small MSI for a fairly small program called ActiveCalendar and everything is fine except when I deploy the package to my test machines it takes very long time like almost 25min to install and even longer if I decide to un-install it
Looks like it takes the longest when it tries to write INI files during the installation and samething during the un-install process

I have used setupcapture to create my MSI, maybe I should have cleaned a little more the INI files?

Sam

EdT's picture

Generate a verbose installation log

Run your install using:  msiexec /i yoursoftware.msi /L*v c:\windows\temp\installationLog.txt

Then examine the logfile - the actions are all timestamped, so you can quickly see which action(s) are chewing up all the time.
I'm assuming you are installing with admin permissions and have full rights to generate INI files in the target folders. I also assume you have checked that your install is not being blocked by your antivirus program.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Sam Nass's picture

Thanks as usual

Thanks as usual

EdT's picture

Let us know what you find.

Let us know what you find.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Sam Nass's picture

seems like I can't paste the

seems like I can't paste the log file results too big...

Sam Nass's picture

here is a small portion of

here is a small portion of it

MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: LocalAppDataFolder , Object: C:\WINDOWS\TEMP\ , LongSubPath: Application Data\ , ShortSubPath: APPLIC~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: WindowsFolder , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\ , ShortSubPath:
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB926436 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB926436$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB967715 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB967715$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB936357 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB936357$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB923414 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB923414$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB920670 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB920670$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB896428 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB896428$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB930178 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB930178$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB954600 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB954600$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB900485 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB900485$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB956391 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB956391$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB898461 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB898461$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB950974 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB950974$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB941644 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB941644$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB946627 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB946627$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB943485 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB943485$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB901214 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB901214$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB971633 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB971633$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB954154_WM11 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB954154_WM11$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB942840 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB942840$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB961501 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB961501$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB921503 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB921503$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB888111WXPSP2 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB888111WXPSP2$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB950762 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB950762$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB905414 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB905414$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB938464 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB938464$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB943055 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB943055$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB913580 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB913580$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB938829 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB938829$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB885836 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB885836$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB938828 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB938828$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB886185 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB886185$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallWudf01000 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallWudf01000$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB900725 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB900725$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB946648 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB946648$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB959772_WM11 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB959772_WM11$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB960714 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB960714$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB959426 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB959426$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB958644 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB958644$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:751]: Dir (source): Key: NtUninstallKB956802 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB956802$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB952287 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB952287$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB951698 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB951698$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB943460 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB943460$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB938127 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB938127$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB936021 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB936021$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB924496 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB924496$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB923689 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB923689$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB918439 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB918439$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB911562 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB911562$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB957097 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB957097$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB942763 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB942763$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB941568 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB941568$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB930916 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB930916$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB929969 , Object: C:\WINDOWS\TEMP\ , LongSubPath: Windows\$NtUninstallKB929969$\ , ShortSubPath: Windows\$NtUni~1\
MSI (s) (CC:A8) [17:21:56:767]: Dir (source): Key: NtUninstallKB928255 , Object: C:\WINDOWS\TEMP\ , LongSubPat

VBScab's picture

ZIP the log

then attach the ZIP.

Then send a Feature Request to the Connect Johnnies, asking if we can expect a 'Delete My Post' feature within the next year. When they finally get round to that (it must be hard, because hardly any other forum software has that feature, eh?) you can delete your spurious posts.

Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.

EdT's picture

I have deleted the spurious posts

Some of us have the power yeh !!

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.