Hello Suki,
I looked over the .pdf you sent us.
I believed you wanted to have a unique updates.txt file for all customers. If you want a separate updates.txt for each of your clients, skip to the
Updates.txt separate for each client section.
Below is a detailed explanation of the methods you could employ to achieve the desired behavior:
Common updates.txt
The behavior I intended to suggest was the following:
1) On the first install, your installer would create a registry value holding the customer's ID
If the client has multiple computers, you need to make sure your installer generates the same customer IDs for all the customer's computers.
2) the server has the following structure:
Code: Select all
|- updates.txt
|- ClientIDs
|
--- 000C4e
| +-- client_specific_installer.msi
|
--- 00Aq7h
| +-- client_specific_installer.msi
|
--- 00V85d
+-- client_specific_installer.msi
The updates.txt file would be unique for all clients.
3) Whenever you have an update for a specific client, you would:
- open your updates configuration project in Advanced Installer
- create a new updates entry
- select your client specific installer for that update
- in the right pane at the bottom, in the Installed Detection group you would use the option "Detect if the update is installed by 'Running a custom EXE'"
- set the following fields
EXE Path: [{<ProductCodeGUID>}{<ComponentIdGUID>}]YourCustomDetection.exe
Arguments: user=<your_user_id>
- the custom EXE you set above would be responsible for checking if the computer on which it is running belongs to the client the update is intended for and return a value accordingly.
Updates.txt separate for each client
1) the server needs to have the following structure:
Code: Select all
|- ClientIDs
|
--- 000C4e
| |- updates.txt
| +-- client_specific_installer.msi
|
--- 00Aq7h
| |- updates.txt
| +-- client_specific_installer.msi
|
--- 00V85d
|- updates.txt
+-- client_specific_installer.msi
2) On the Updater page in Advanced Installer simply set the Updates URL field to something like:
Code: Select all
http://<yourwebsitehere>/ClientIDs/[CLIENT_ID]/updates.txt
The CLIENT_ID property must hold the client ID belonging to your customer. The updater would this way look in the client's appropriate folder for updates.
Best regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging