Search found 76 matches

Go to advanced search

by adamdc78
Fri Jan 23, 2015 9:33 pm
Forum: Building Installers
Topic: Removing Registry Values during Uninstallation
Replies: 3
Views: 2848
 
Jump to post

Re: Removing Registry Values during Uninstallation

It clicked as soon as I started to read it. Of course HKCU is different for the local system account... Thank you very much!
by adamdc78
Fri Jan 23, 2015 12:13 am
Forum: Building Installers
Topic: Removing Registry Values during Uninstallation
Replies: 3
Views: 2848
 
Jump to post

Removing Registry Values during Uninstallation

Several registry values are created at run time in the application which I need to clean up during uninstallation. I cannot simply remove the registry key. I've written an executable tool to handle the clean up but run into the issue that the entire key (as well as dozens of others) under HKCU are n...
by adamdc78
Mon Jan 19, 2015 10:52 pm
Forum: Building Installers
Topic: C# Custom Action via WiX
Replies: 3
Views: 4214
 
Jump to post

Re: C# Custom Action via WiX

Hello Daniel, I presume, for the sake of completeness, that if it is a mixed-mode (ie: .NET) dll that standard dll would also be applicable? EDIT: Further research led me to http://www.advancedinstaller.com/forums/viewtopic.php?f=1&t=9443 which pointed me in the correct direction. EDIT 2: It see...
by adamdc78
Fri Jan 16, 2015 1:11 am
Forum: Building Installers
Topic: C# Custom Action via WiX
Replies: 3
Views: 4214
 
Jump to post

C# Custom Action via WiX

I've tried to follow the steps in http://www.advancedinstaller.com/user-guide/qa-c-sharp-ca.html but the option “New Installed Custom Action” is not available in the Add Custom Action tab. Since it's a .dll, would I just use the Launch Installed File and provide the Custom Action name as the Functio...
by adamdc78
Fri Nov 21, 2014 9:55 pm
Forum: Building Installers
Topic: Web Installer Bootstrapper - calculate DL link
Replies: 5
Views: 4245
 
Jump to post

Re: Web Installer Bootstrapper - calculate DL link

The web downloader bootstrapper will download and run an MSI. I need to determine which MSi to download before downloading it. Setting the property once it is downloaded does me no good as it may already be running an MSI for which the user is not licensed. It sounds as though we'll have to continue...
by adamdc78
Wed Nov 19, 2014 11:44 pm
Forum: Building Installers
Topic: Web Installer Bootstrapper - calculate DL link
Replies: 5
Views: 4245
 
Jump to post

Re: Web Installer Bootstrapper - calculate DL link

The bootstrapper needs to check for an existing license, if it doesn't find one display the licensing dialog, then check the maintenance expiry date and download the correct MSI, then execute the MSI. I'm already doing the licensing checks etc. in the MSI portion of the installation, but it has to b...
by adamdc78
Tue Nov 18, 2014 9:55 pm
Forum: Common Problems
Topic: Cannot get UpdateMsiEditControls built-in action to work
Replies: 5
Views: 4298
 
Jump to post

Re: Cannot get UpdateMsiEditControls built-in action to work

Thank you for clarifying. In my work-around I'd found that I needed to replace my static text with a text box (not super thrilled with the UX on a disabled text box, but will deal with it). I'm just calling the UI events to set public properties based on the private properties modified by the script...
by adamdc78
Mon Nov 17, 2014 10:02 pm
Forum: Building Installers
Topic: Web Installer Bootstrapper - calculate DL link
Replies: 5
Views: 4245
 
Jump to post

Web Installer Bootstrapper - calculate DL link

We have an existing hand-coded bootstrapper which downloads the latest MSI for which the user's maintenance plan is licensed (if no existing license if found it also prompts the user for their license information); looking to do something similar with Advanced Installer if I can. Is there any way to...
by adamdc78
Thu Nov 13, 2014 4:21 pm
Forum: Common Problems
Topic: Cannot get UpdateMsiEditControls built-in action to work
Replies: 5
Views: 4298
 
Jump to post

Re: Cannot get UpdateMsiEditControls built-in action to work

As I said, my trivial example was an illustration of what I'm doing in a much more complex scenario. I cannot use the enhanced UI requires a bootstrapper which will not work in this case. I'm not sure how setting the property through a script differs from setting it through the custom action, could ...
by adamdc78
Tue Nov 11, 2014 9:54 pm
Forum: Common Problems
Topic: Cannot get UpdateMsiEditControls built-in action to work
Replies: 5
Views: 4298
 
Jump to post

Cannot get UpdateMsiEditControls built-in action to work

I'm attempting to update the status of a script in a dialog and nothing I do seems to make the dialog refresh. I'm not using the enhanced UI. I've attached a simple .aip to illustrate the issue (v11.6.1). No matter how many times you press the Update button, the control will not update (which resolv...
by adamdc78
Tue Nov 04, 2014 9:01 pm
Forum: Common Problems
Topic: Modified StartMenuShortcutsDlg
Replies: 3
Views: 3921
 
Jump to post

Modified StartMenuShortcutsDlg

I've modified the StartMenuShortcutsDlg to include checkboxes which set AI_DESKTOP_SH and AI_STARTMENU_SH. When I uncheck both check boxes, I still get a shortcut appearing on my desktop (whether or not that shortcut is advertised). I do NOT get the shortcut in the start menu when unchecking its che...
by adamdc78
Mon Oct 27, 2014 8:10 pm
Forum: Building Installers
Topic: Forcing a silent installation to fail
Replies: 3
Views: 3394
 
Jump to post

Re: Forcing a silent installation to fail

Thank you once again Daniel, this worked as expected. I'm curious as to why the inline script's error is suppressed, however. If you have any insights I'd be keen to hear them. If not, thank you very much for the fix!
by adamdc78
Mon Oct 27, 2014 7:39 pm
Forum: Common Problems
Topic: Updated to 11.6 - coverted Inline Scripts all load blank
Replies: 2
Views: 2497
 
Jump to post

Updated to 11.6 - coverted Inline Scripts all load blank

I'm guessing that this isn't working as intended. The good news is that if I open the .aip I can still see my script text in the actions, I just can't edit them within the GUI. This occurs for 11.5.1 and 11.4.1 projects at the very least. Will re-install 11.5.1 for now.
by adamdc78
Fri Oct 24, 2014 1:53 am
Forum: Building Installers
Topic: Forcing a silent installation to fail
Replies: 3
Views: 3394
 
Jump to post

Forcing a silent installation to fail

I have a VBScript Execute Inline Script Code custom action which runs an executable which returns 1 or 0 and sets a property based on that value. When using the UI I can check that value and stop the user from advancing through the dialogs when the aforementioned property is 0. When running silently...
by adamdc78
Thu Oct 23, 2014 7:32 pm
Forum: Common Problems
Topic: Per-User installation putting shortcuts in wrong path
Replies: 8
Views: 6325
 
Jump to post

Re: Per-User installation putting shortcuts in wrong path

As a work around I've added a Published Event to the InstallTypeDlg's Next button which sets [ProgramMenuFolder] to [%APPDATA]\Microsoft\Windows\Start Menu\Programs when AI_InstallPerUser.

Go to advanced search