If you configure your package to Compressed=no , it will not include the source file in your last package. The reason you get "File not found" is because when the installer is built, a local version of the package's .exe file is required to get information from it. If you want to create a project that has only the download URL, you need to specify the RemotePayload element and provide additional information about the remote package.
This will allow you to create the installation package without having to have the source file on your computer, but you need to be sure that your payload is accurately described or your installation failed.
In the ExePackage element ExePackage make sure that you include the Name attribute, which is one of the required attributes next to the SourceFile , but the SourceFile not allowed using RemotePayload . Your example includes it, so you should be fine.
Include the <RemotePayload> element as a child of the ExePackage as follows:
<RemotePayload Description="MyRemoteApp" ProductName="MyProductName" Size="size-in-bytes" Version="1.1.1.1" Hash="SHA-1-checksum-here"/>
All the necessary information is an attribute of your specific package. If this is not an option, you need to make sure that the source file is available locally at build time, but make sure it is not compressed, so the user can install and download the payload from your URL.
See RemotePayload for details .
Ryan j
source share