You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning WIX5437: It is no longer necessary to define the standard directory 'DesktopFolder'. Use the StandardDirectory element instead.
warning WIX5437: It is no longer necessary to define the standard directory 'ProgramMenuFolder'. Use the StandardDirectory element instead.
It look like I'm using diffrence way to follow up with latest version, any help is appreciated, this is my code effected
WixEntity[]CreateShortcut(stringapplicationName,stringexeFileName){returnnewWixEntity[]{// Shortcut on the DesktopnewDir(@"%Desktop%",newExeFileShortcut(applicationName,Path.Combine("[INSTALLDIR]",exeFileName),arguments:""){WorkingDirectory="[INSTALLDIR]",IconFile=@"./Resources/icon.ico",}),// Shortcut in the Program MenunewDir(@"%ProgramMenu%",newExeFileShortcut(applicationName,Path.Combine("[INSTALLDIR]",exeFileName),arguments:""){WorkingDirectory="[INSTALLDIR]",IconFile=@"./Resources/icon.ico",})};}
The text was updated successfully, but these errors were encountered:
chuongmep
changed the title
warning WIX5437: It is no longer necessary to define the standard directory 'DesktopFolder'
Warning WIX5437: It is no longer necessary to define the standard directory 'DesktopFolder'
Oct 10, 2024
if you create project from template for WixV4 for MSI Creation, you got
<Wixxmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<StandardDirectoryId="ProgramFiles6432Folder"> <---this is different in v3.
<Directory Id="INSTALLFOLDER"Name="!(bind.Property.Manufacturer) !(bind.Property.ProductName)" />
</StandardDirectory>
</Fragment>
</Wix>
Hi eveyone and developers !
How can we upgrade code to fix warning :
It look like I'm using diffrence way to follow up with latest version, any help is appreciated, this is my code effected
The text was updated successfully, but these errors were encountered: