software update solution
-
i develop a update .exe and its on a web server. when i start my main program, it'll query the version first.if there is a new version on the web server, it'll create a process and execute the update .exe. whats the update doing is that downloading the new setup.msi and setting up automatically.i use the the api MsiInstallProduct(path,"action=install"). but there's someting unfriendly, it'll popup the setup dialog and make the user to choose to restore or to delete. how can i make it to execute reinstallation action directly. msdn says the second parameter mapping to an action,but i just dont find anyting userful. help me .plz thank u in advance.
-
i develop a update .exe and its on a web server. when i start my main program, it'll query the version first.if there is a new version on the web server, it'll create a process and execute the update .exe. whats the update doing is that downloading the new setup.msi and setting up automatically.i use the the api MsiInstallProduct(path,"action=install"). but there's someting unfriendly, it'll popup the setup dialog and make the user to choose to restore or to delete. how can i make it to execute reinstallation action directly. msdn says the second parameter mapping to an action,but i just dont find anyting userful. help me .plz thank u in advance.
Instead of updating your application with an MSI, you're supposed to create a "patch". The MSI is only for installing, repairing and removing the application. If you are only distributing an update, then use a patch instead. What software are you using to author your MSI's?
The difficult we do right away... ...the impossible takes slightly longer.
-
Instead of updating your application with an MSI, you're supposed to create a "patch". The MSI is only for installing, repairing and removing the application. If you are only distributing an update, then use a patch instead. What software are you using to author your MSI's?
The difficult we do right away... ...the impossible takes slightly longer.
there'r 2 cases. one maybe means a "patch" for adding some more resources. in the other case , i need an entirely new version. my question is about the second case. so i want to take a solution of reinstallation,though, im not sure whether its resonable or not... and i cant understand whats ur mean about authoring my msi's.
-
there'r 2 cases. one maybe means a "patch" for adding some more resources. in the other case , i need an entirely new version. my question is about the second case. so i want to take a solution of reinstallation,though, im not sure whether its resonable or not... and i cant understand whats ur mean about authoring my msi's.
Try running the installer with the "\quiet" option. This prevents any user interface. See: Installer Command Line Options[^]
The difficult we do right away... ...the impossible takes slightly longer.
-
there'r 2 cases. one maybe means a "patch" for adding some more resources. in the other case , i need an entirely new version. my question is about the second case. so i want to take a solution of reinstallation,though, im not sure whether its resonable or not... and i cant understand whats ur mean about authoring my msi's.
You might want to look into this function: MsiSetInternalUI[^]
The difficult we do right away... ...the impossible takes slightly longer.
-
Try running the installer with the "\quiet" option. This prevents any user interface. See: Installer Command Line Options[^]
The difficult we do right away... ...the impossible takes slightly longer.
-
You might want to look into this function: MsiSetInternalUI[^]
The difficult we do right away... ...the impossible takes slightly longer.
-
yes,it works.there's also a doubt why i cant run the uninstall .exe if it has a different productcode from setup.msi. and how can i get the productcode. thank u for ur reply,its very useful