c3er / mdview

Standalone Markdown viewer
MIT License
83 stars 7 forks source link

Unable to deploy mdview MSI with Intune #54

Open thmmsn opened 4 months ago

thmmsn commented 4 months ago

Thank you for MSI-file. Because of missing ProductCode or ProductVersion mdview deployment fail.

The selected app package does not appear to have either a ProductCode or ProductVersion.

Name: mdview-3.1.1-x64.msi Platform: Windows Size: 85.59 MiB MAM Enabled: No

c3er commented 4 months ago

Thanks for filing this issue!

That's unfortunate! I'll see in the next days, what I can do about that. It seems, like electron-builder doesn't offer a flag for this but maybe there is some workaround for this.

c3er commented 2 months ago

Sorry for the delay!

I couldn't reproduce this issue yet. According to a tool lessmsi, the MSI package contains both, "ProductCode" and "ProductVersion".

Output for my MSI package:

Property,Value
WIXUI_INSTALLDIR,APPLICATIONFOLDER
ApplicationFolderName,mdview
WixAppFolder,WixPerUserFolder
DISABLEADVTSHORTCUTS,1
ARPPRODUCTICON,mdviewIcon.exe
ALLUSERS,2
MSIINSTALLPERUSER,1
WIXUI_EXITDIALOGOPTIONALCHECKBOX,1
WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT,Run mdview
Manufacturer,Christian Dreier
ProductCode,{8EF8F05F-B108-4A57-9FF2-C7AB12AF415A}
ProductLanguage,1033
ProductName,mdview
ProductVersion,3.1.1.0
UpgradeCode,{5DC0D740-CB9D-59C2-9605-BE265194B4D3}
DefaultUIFont,WixUI_Font_Normal
WixUI_Mode,InstallDir
ARPNOMODIFY,1
ErrorDialog,ErrorDlg
WixUIRMOption,UseRM
SecureCustomProperties,ALLUSERS;MSIINSTALLPERUSER;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED

To check this issue with Intune, an Azure account is needed, right? Is it possible to provide a more verbose error message?

A wild idea: Maybe, the error message is misleading and there is actually a trust issue, i.e. Intune doesn't like the package, because it couldn't verify the certificate.