Installer built with AI interfering with USB devices - 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!

jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

Installer built with AI interfering with USB devices

We have a a product in beta right now and we are receiving reports that customer's are having issues with machines that installed our suite of applications. These include:

1. Losing the ability to scan
2. Losing the ability to tether a phone as a hot spot
3. Losing the ability to access network shares
4. Loss of the built-in USB card reader

The loss of the above functions occurs regardless of whether we were logged in with admin privileges or not. To be clear, the software installs correctly and runs but other applications / services become non-functional. Our software consists of a C# Windows service, a C# application, and SQL Express 2008 R2. For the below reasons, I have ruled out the possibility that the actual software we are installing is the cause of the problems and it is something that AI is doing during the install that I either don't understand and/or am not returning to it's original state

1. On machines that we installed the software, I uninstalled our suite and completely removed any registry keys related to the custom application and service as well as SQL Express and that made no difference after starting up. The test machine was still unable to access any company network shares or the USB scanner attached to it.
2. I removed the installation and start of the C# Windows service (via Install .NET Custom Action) and added that executable code as a console application instead of a Windows service. The computer still exhibited the same behavior regardless of whether or not the executable was run as a Windows service or a console application.
3. I can manually install the entire package - Windows Service (using installui.exe), Application (just drop files into folder), and the SQL database (using an unattended install via .ini file) - and both the software and PC function correctly. This process was done as both the machine admin and normal user with some elevated privileges to allow the installation of the SQL server.

On any machine that became non-functional due to running the installer I was reliably able to rollback the machine configuration to prior to running the install and have the scanner and network drive functionality return.

A couple of other important data points to consider:
1. The only OS's affected are Vista and 7. Windows XP seems to be immune to this problem.
2. I am running the install as Admin (configuration set on Install Parameters page)
3. I am not adding any extra Registry keys in the "Resources" section. Whatever is added are the defaults that get added whenever any application installs on a Windows box.

Any insight into what AI could be doing in the background is much appreciated.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer built with AI interfering with USB devices

Hello,

I'm not sure why you are encountering this behavior. Indeed, from what you have described this behavior may be caused by your installation package. However, please keep in mind that all install operations executed by your package created with Advanced Installer are configured by you in the project file (.aip file). So, the installation package will not execute an install operation if it is not added or configured by you in your project file.

From my experience this behavior may appear when some installation resources (e.g. dll, ocx files) are not correctly registered. Can you please send us the .aip (project file) and a verbose log of the installation (on a machine which reproduces this issue) to support at advancedinstaller dot com so we can investigate them?

Also, can you repackage your current installation package (on a machine which reproduces the related behavior) and send us the repackaged project (.aip file)? Please keep in mind that in order to use our "Repackage" feature an "Enterprise" or above license is required. If you don't have an "Enterprise" license, then you can use Advanced Installer in trial mode to access the "Repackager" tool.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

Re: Installer built with AI interfering with USB devices

Thank you for your reply, Daniel! Where do I get the verbose log if the installation is successful? I have enterprise so I can repackage it for you. I will look into how to do this. If I read you correctly, I need to install AI on a machine that is exhibiting this behavior and then repackage it there?
jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

Re: Installer built with AI interfering with USB devices

I have submitted my aip files to the support email. I was unsure how to get the Verbose log from the machine since the install was successful and didn't give me the option to see it at the end.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer built with AI interfering with USB devices

Hello,

In order to generate a verbose log you can run your installation package from command line using a command line like this:

Code: Select all

msiexec /i "Path_to_Package\Install.msi" /L*V "Path_to_Log\Log.txt"
when you have an MSI installation package, and a command line like this:

Code: Select all

"Path_to_Package\Install.EXE" /L*V "Path_to_Log\Log.txt"
when you have an EXE installation package.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”