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!

jk109
Posts: 1
Joined: Wed Jul 06, 2016 10:55 pm

Installing a windows update/hotfix from within Installer

I'm trying to install a windows update from within my installer. The KB has one version for 32-bit windows and another for 64-bit windows. I do have a batch file that tests for OS arch type and then runs update.exe with appropriate version of the patch. However, I'd rather run update.exe from within the installer if it's possible to make a determination of ARCH first. How would I do this without encapsulating everything in a batch file?

Thank you.

J.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installing a windows update/hotfix from within Installer

Hi and welcome to Advanced Installer forums.

In order to run the appropriate windows update depending on the OS architecture (32 or 64-bit) you can use two "Launch file" custom action which will be executed based on the following conditions:
  • NOT VersionNT64 (for the 32-bit file)
    VersionNT64 (for the 64-bit file)
Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”