Open aestenfe opened 3 years ago
Side note : defaultInstallMode
is not referenced/documented in the README
fixed in my branch https://github.com/SharpDevSa/electron-wix-msi
@aestenfe @flavienbwk How to test the autoUpdate. I am new to this. I can't able to find any documentation/examples to add/test auto updates. and how to see the logs above one ? can you please help me on this.
@aestenfe @SharpDevSa Did you used electron-packager or electron builder to feed to this '../out/test-win32-x64'
I used electron builder. After running MSI creator, it does not creating RELEASE File, or nupkg file.
It created only .msi .wix.obj .wix.pdb wxs
I am using also same code msi creator code above
How can i achieve auto updates ? Please help me on this !
[17-05-22 08:30:28] info: Program: MSQ Updater: --checkForUpdate https://*******.s3.amazonaws.com
[17-05-22 08:30:28] info: Utility: IsAutoUpdateEnabled: AutoUpdate key exists and is 1. AutoUpdating enabled.
[17-05-22 08:30:28] info: Program: Fetching update information, downloading from https://*********.s3.amazonaws.com
[17-05-22 08:30:28] info: CheckForUpdateImpl: Generated new staging user ID: 3d99a132-49a9-5958-84b6-a5abbb4663b5
[17-05-22 08:30:28] info: CheckForUpdateImpl: Downloading RELEASES file from https://*********.s3.amazonaws.com
[17-05-22 08:30:28] info: FileDownloader: Downloading url: https://*********.s3.amazonaws.com/RELEASES
[17-05-22 08:30:29] warn: IEnableLogger: Failed to download url: https://*********.s3.amazonaws.com/RELEASES: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.
My goal is to create an wix-msi installer which need no admin permission and includes autoUpdates.
As long as I don't set the
defaultInstallMode: 'perUser'
, the autoUpdater is working. But when I set thedefaultInstallMode
, the autoUpdater can't find the update file:Here is my MSICreator:
Is there a way to realize the goal?