Newbie trying to package KB917021 into an MSI - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wellsa1
Posts: 2
Joined: Mon Aug 13, 2007 5:17 pm

Newbie trying to package KB917021 into an MSI

I tried using the repackager feature but it did not place any of the DLLs in the correct location. Further when it was tested it broke the wireless network connections on the test laptop. Is there documentation on how to do this correctly? Where is the system32 folder in this program? I only see system, system16 and system64.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please give me more details about the problem you encounter. The "Windows Volume->System" folder is translate to the "C:\Windows\system32" folder.

Also note that it is recommended to close any unnecessary running application before starting the repackager process in order to avoid any 'false positive' capture results.

We have a tutorial on how to use the repackager, please see:
http://www.advancedinstaller.com/user-g ... kager.html

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
wellsa1
Posts: 2
Joined: Mon Aug 13, 2007 5:17 pm

I closed as many apps as I could. I emailed support and they also suggested following the tutorial. So I tried again and I did follow the tutorial. When the executable finished it prompts for a reboot. If I say yes the package is lost. If I postpone the reboot none of the DLLs are placed in system32. I tried to edit the project by placing the DLLs in system32 under files and folders but when I tested the MSI I got the following error:

"The Windows Installer service cannot update the system file C:\WINDOWS\system32\drivers\ndisuio.sys because the file is protected by Windows. You may need to update your operating system for this program to work correctly."
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

The files and folders in sytem32 are under Windows File Protection, therefore those files can be overwritten only by a Windows trusted installer (the ones Microsoft creates).

The Windows Installer engine (which handles the installation of MSI packages) never attempts to install or replace files that are under Windows File Protection.

Replacement of protected system files is supported only through:
- Windows Service Pack installation
- Hot-fixes
- Operating system upgrades
- Windows Update

As a workaround you can add the setup file for this package (KB917021) to your project and create a "Launch File or Open URL" custom action which will launch it. (you can read more about this type of custom action here: http://www.advancedinstaller.com/user-g ... defined-ca)

Read more here:
http://msdn2.microsoft.com/En-US/library/aa382540.aspx
http://msdn2.microsoft.com/En-US/library/aa372820.aspx
http://msdn2.microsoft.com/en-us/library/aa382530.aspx

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”