Yes, I understand what you mean now.
Is there a way to do this with VBScript (run MsiDatabaseOpenView in VBScript: because then I can create one vbs file that does it all, while in C# I have to create a project...)?
If you look at the guide at: http://www.advancedinstaller.com/user-guide/custom-action-properties.html you see the following comment: Deferred custom actions can receive information about the installation process, mostly only embedded in the CustomActionData property. However, this type of custom ac...
1. I have a list of files that I want to get the version from. 2. I can only get the version of the files when I have passed/on the "install" phase. 3. In the "install" phase: you can't access windows msi Properties! meaning: the vbscript of custom action dll will NOT be able to ...
Until you create this feature: how can I do this in the installer? The problem is: even if I create a custom action under the "INSTALL" phase (where I know that the files are deployed/copied already on the installation folder): I can't modify the MSI Properties (at this stage: it's not acc...
I upgraded my AI 7.7 to AI 8.0.2 and now my "next" button for my custom dialog page behaves differently! I looked at http://www.advancedinstaller.com/user-guide/edit-control-event-dialog.html but that doesn't explain the change I'm experiencing between the two versions of AdvancedInstaller...
Using AI 7.7: I have experienced this problem before, and didn't find the reason. Now I further investigated the problem, and I found that AdvancedInstaller is holding ServiceController during upgrade. What this causes is that if I delete a Service (manually with a custom action "sc.exe delete ...
You're right, however, these conditions will be run only after you have pressed the "install" button. The "Custom Launch Conditions" are validated before the welcome page: so you don't get to go through all the dialog pages (next/next/next) and then press "install": onl...
Okay, I read the remark you wrote, and I was using [MY_DIR] in the "Published Events" instead of just MY_DIR.
That solved the problem, and now my test program seems to be working.
I followed your instructions on the link you gave http://www.advancedinstaller.com/user-guide/qa-browse-for-folder.html and tried to make my own test program just for this (not yet in my project). I also downloaded your example project: which I think you should have more stuff like that which should...
Using AI 7.7: The BrowseDlg is used by AdvancedInstaller to set/choose the installation folder for the application. I don't want to change that, but what I want is something just like that! In my program, there's some configuration directory that I need to choose/create for my program: and I want to...
Using AI 7.7: in "Launch Conditions" -> "Custom Launch Conditions" you can add your custom conditions, however, I would like to sort them. But I don't see how this can be done. This forces me to create complicated conditions on the "Custom Launch Conditions" so manually...
Using AI 7.7: I added a Custom Action in "InstallExecuteSequence"->"Rollback" for my tests that pops-up a MessageBox without any conditions and is configured to be: "Rollback with no impersonation". Now I try to make this MessageBox appear, but nothing causes it to pop-...