Rollback issue because of crash - Advanced Installer Community
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Rollback issue because of crash

Hi all,
I have created .exe file for device driver.Installation working fine and device also properly working.When I was trying to uninstall the driver from 'add/remove entry',the system gets crashed,and I know the crash because of my driver.After reboot, again I have uninstalled the driver from 'add/remove entry',and uninstalled properly.But if I trying to install the package again it gets rollback and also if I create another package using the same project file that also getting rollback.

Can anyone please solve my issue?.Actually now only I confirmed that rollback happening because of these issue.


Thanks,
Vijay.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Rollback issue because of crash

Hello Vijay,

I cannot say why this happens. Please send us the .AIP (project file) and a verbose log of the uninstall to support at advancedinstaller dot com so we can investigate them.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Re: Rollback issue because of crash

Hi Daniel,
I sent out the file to advanced installer mail. And I cant able to install the package which created using same project file.All are getting rollback.Please clear my issues.



Thanks,
Vijay.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Rollback issue because of crash

Hello Vijay,

It seems there is a problem with the driver installation indeed.

Code: Select all

Could not open file C:\Windows\System32\DriverStore\FileRepository\inf\driver.inf. (Error code 0x3: The system cannot find the path specified.)
DIFXAPP: ERROR:  PnP Install failed. (Error code 0x3EE: The volume for a file has been externally altered so that the opened file is no longer valid.)
Can you please try to manually install the driver on the related machine and see if this works?

Also, as a side note, please note that our "Drivers" page doesn't have support to install hardware device drivers. It only supports Software First Install drivers. These drivers usually come with your application, e.g. an anti-virus filter for the network adapter. We don't have support to create installer for Hardware First Install type drivers. If you want to install a hardware driver, then it is recommended to use develop and use your own custom action which will install the driver.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Re: Rollback issue because of crash

Hi Daniel,
How to check my driver installation is whether software first installation or hardware first installation?
Actually If I install my package without inserting device,all driver files are copied into driverstore and when I insert the device,.sys file and oemxx.PNF file was generating.So I think this is software first installation.Can you please clear my doubt?



Thanks,
Vijay.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Rollback issue because of crash

Hello Vijay,

You should check this info with the driver manufacturer. You should ask the manufacturer if the driver can be installed only when the device is connected (hardware first install) or if the driver can be installed without requiring the device to be physically connected (software first install). A software first install driver can be installed before you connect the device to the target machine and afterwards when you connect the device the Windows system will automatically load and install the pre-existent driver from the system.

Also, I suggest you firstly to manually test the installation of your driver, without using an Advanced Installer setup package, and let us know what are the manual steps you perform to successfully install/uninstall the driver. This way maybe we will be able to suggest you a proper approach you can implement into your setup package for a successful installation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Re: Rollback issue because of crash

Hello Daniel,
We are following the below steps for manual installation.

1. Go to Control Panel and open Device Manager.

2. Right click the device and select update Driver Software.

3. Choose Browse my computer for driver software.

4. Let me pick from a list of device drivers on my computer

5. Choose Have Disk and Browse for the .inf driver file. Open and Next.

6. The driver will be installed.

And also all files are installed before inserting my device,after inserting the device it starts functioning.
Can you please solve my issue?


Thanks,
Vijay.
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Re: Rollback issue because of crash

Daniel,For uninstallation,simply right click on my device and choose uninstall.After that it will uninstalled the driver.

Thanks,
Vijay.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Rollback issue because of crash

Hello Vijay,

Can you please send us to support at advancedinstaller dot com the last version of your AIP (setup project file) and a download link of its built setup package so we can fully test and investigate the driver installation on our side?

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

Return to “Common Problems”