Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Manage if reboot required dynamically in CA


2 replies to this topic

Renegade

Renegade
  • Full Members
  • 2 posts

Posted 07 October 2008 - 13:57

Hello,
We have to use cutom action (deferred execution in system context) to install drivers using DIFxAPI (DriverPackageInstall function). Using this function (DriverPackageInstall) it is possible to define if reboot required. So it is useful to manage dynamically if it is required and to proceed it to Windows Installer. But in deferred execution in system context it is impossible to modify any Properties.
How to manage it? Maybe using other Cutom Actions? We have a solution to store this information is registry for example but we think it's not the best solution.
PS: We have to use Basic MSI project, because we have to not restrict a group policy installation of drivers for end-user.

Holger_G

Holger_G
  • Full Members
  • 155 posts

Posted 08 October 2008 - 10:28

Question:
Why do you make use of DIFxAPI? (I presume you use your own custom exe or dll to install drivers using DIFxAPI, correct?)
Why don´t you just use DIFxAPP with MSI?
(InstallShield has built-in support for DIFxAPP)

Renegade

Renegade
  • Full Members
  • 2 posts

Posted 08 October 2008 - 15:47

QUOTE (nrivers @ 2008-10-08 10:28)
Question:
Why do you make use of DIFxAPI? (I presume you use your own custom exe or dll to install drivers using DIFxAPI, correct?)
Why don´t you just use DIFxAPP with MSI?
(InstallShield has built-in support for DIFxAPP)

We need to install two drivers for our device support. The first is virtual device and the second is real usb-device. InstallShield has no support of device manager api to install virtual device into the system. So we need to use our own custom action dll.

Edited by Renegade, 08 October 2008 - 15:57.