Hi all,
I'd highly appreciate a sample or help to resolve the following challenge:
Scenario A: Install myApp.exe on a CLIENT
Scenario B: Install myData.DB and myHelp.chm on a SERVER
Scenario C: Install myApp.exe and myData.DB and MyHel.chm on a CLIENTor or a SERVER (aka COMMON)
Use case:
- User selects the scenario
- Installer asks for the folder the MyApp.exe should be installed (propones the default path on the local machine where the installer runs according to the OS, e.g. "C:\Program Files\myConmpany\myApp.exe"), if either CLIENT or COMMON was selected
- Installer asks for the (root) folder the data should be installed to (propones the default path according to the OS, e.g. "C:\ProgramData\myConmpany\"), if COMMON was selected. At the end, the files are installed on the local machine where the installer runs in "C:\ProgramData\myConmpany\Data\myData.DB" and "C:\ProgramData\myConmpany\Help\MyHelp.chm", respectiverly.
- Installer asks for the folder where the data was previously installed on a server (propones the default path according to the servers OS, e.g. "C:\ProgramData\myConmpany\"), if CLIENT was selected. At the end, the data (root) path will be registered in Registry as UNC-Path, e.g. "\\MyServer\myConmpany\"
- A couple of info will be registered in Registry (App-Name, Version, App-Path, Data-Path...).
It doesn't matter if there appear two dialoges where applies (say, one to get folder for myApp.exe, other dialogue for getting the data path), or if there is a "smart" dialogue asking both on the same if applies.
I spent already dozends of hours with the ClientServerDlg (using wizard), but got very confused on trying to deal with the "Published Events" with which I guess should be worked on.
How to invoke the Folder or Browser Dialogues? Where to
What I didn't got (amoung other misteries) is the fact that there are sub-items under ClientServerDlg for "InstallMode=Server" and "InstallMode=ClientServer", but not for "InstallModeClient" - on the other hand, clicking on the "Client" icon, there do are some "Published events"... ? Is this a bug or a cute feature?
Currently using a trial version, Enterprise mode. I evaluate a couple of installer tools - the use case depicted above is the test scenario the tool must be able to handle.
I'd highly appreciate some hints, help or even a sample for a client/server installer doing this or similar things.
Many thanks in advanced for your time! - personally, until now AI is my favorite and I'd love to buy it, learning to do a lot of magic with it.
André
FOLLOW US
Get the latest news in Application Packaging