AI_SetMsiProperty to Windows Installer doesnt work - Advanced Installer Community
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

AI_SetMsiProperty to Windows Installer doesnt work

Hi,
does someone tried the "AI_SetMsiProperty" Command in an Inline-Powershell -Script?
I tried this but with an Inputbox but this doesnt work.
See Attachments...

Please investigate, what iam doing wrong.
Attachments
VAS-B Intel NIC-Treiber 1.0.0.aip
(29.62 KiB) Downloaded 368 times
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Re: AI_SetMsiProperty to Windows Installer doesnt work

Hello Advanced Installer Team,
could you please investigate this Ticket ?

Thx
Matthias
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI_SetMsiProperty to Windows Installer doesnt work

Hello Matthias,

I apologize for my delay reply but we are quite busy these days.

This is happening because the properties will be updated after the powerShell script runs. For details, please see the Run Inline Windows PowerShell Script article.

Let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Re: AI_SetMsiProperty to Windows Installer doesnt work

Hi,
yes i know, thats is the reason why i run the Powershelscript after Path Resolution and before Add Ressources.

So my Idea was, that the Powershellscript write the Property and the regitry will set the key with this Property.
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Re: AI_SetMsiProperty to Windows Installer doesnt work

Close this, i found my error :roll:
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI_SetMsiProperty to Windows Installer doesnt work

That's great news,

I'm glad you got this working.
If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”