Hello,
I’m new to the Advanced Installer 8.0.2 and I’m having a strange problem.
Together with the application I wrote I have to install a driver that allows my program to talk to a piece of hardware through a USB to serial chip. I downloaded the driver from the USB to serial chip manufacturer web site and it is very simple to install; you just double click on the driver installer and it opens a command window that goes through the driver installation process. Once the driver is installed the command window closes automatically. Additionally, my application uses .net Framework 3.5 SP1 which I check for and install if necessary.
My problem is that on a freshly formatted Windows XP computer that does not have .net 3.5 SP1 installed the installer I generate does not install the USB driver. If, however, I remove my application after the installer installed the software for the first time without installing the driver, and then rerun the installer both the application and the driver will be installed.
This is how I have set up the installer
In the prerequisites page I have set up .net Framework 3.5 SP1 a a prerequisite and I tell it to install from the package as I include the Microsoft installer in my package.
In the Files, Folders and Shortcuts page I have added a Drivers folder that holds the .exe provided by the chip manufacturer
In the Custom Actions page I have added in the Install phase a Custom Action with the following parameters
Type: File installed with product
Source path: APPDIR\Drivers\CDM20802_Setup.exe
Source Type: Executable (*.exe)
Command Line: (it is blank)
Execution Properties: Synchronous execution, ignore return code
Execution Options: Deferred
Scheduling Options: Always Execute
Execution Condition Expression: NOT Installed
I am generating the installer on a Vista machine in English and testing it on an XP SP2 machine in Spanish (I want to make sure the program will work on all international customers)
In summary, when I run the installer on a formatted machine for the first time the driver is not installed, when I run it a second time after the application is removed the driver is properly installed, what am I doing wrong?
Thanks,
Enrique
FOLLOW US
Get the latest news in Application Packaging