microsoft / Analysis-Services

Git repo for Analysis Services samples and community projects
MIT License
607 stars 416 forks source link

Installing through intune no longer works #223

Open AltheusII opened 1 year ago

AltheusII commented 1 year ago

Prior versions of ALM Toolkit have been installable as a win32 app in intune, 5.0.4x versions claim to install but also want the msi file to be available on first run.

Do I have to repackage the app to get it working?

Regards.

christianwade commented 1 year ago

Hi, I'm not sure why it was working in previous versions but not from 5.0.4x onwards. There are no changes that I'm aware of that would affect this. Still hoping to get to a version that works with digital certificate, but still looking for an opportunity to get to it.

AltheusII commented 1 year ago

Interestingly, the program is fine when I go in to programs and features, the only problem is the shortcut that windows creates.

schenardie commented 1 year ago

Hi Chris, we're having the same issue and that is happening because the desktop shortcut is advertised and it calls the MSI upon opening. https://stackoverflow.com/questions/24739602/why-does-my-shortcut-try-to-run-an-msi-instead-of-the-correct-exe https://www.advancedinstaller.com/user-guide/advertised-shortcuts.html

if you could remove that feature it would fix the installation via management tools like Intune, where the msi is only kept in cache during installation.

majobu commented 8 months ago

I have the same problem when deploying via Intune.

Is there a solution or a workaround?

Is it possible to use a msi/mst transformation (.mst) to ensure that the repair is not executed on the first start?