After three weeks of debugging, I have found the source of my error. It is related to these two articles. I had to include an extra space after the Installer Parameter when passing a property to an action for a custom action using an installed ,NET installer class.
http://www.advancedinstaller.com/forums ... f=2&t=7886
http://blogs.msdn.com/b/vsnetsetup/arch ... ation.aspx
Why on earth is this the case?
I have a parameter [FOLDER_PATH] which is the name of a Search value used by Advanced Installer to get the value of folder path assigned to
the value of a key in the registry of the target computer.
I have tried assigning raw property value, value points to a folder, value points the path of a file. Neither of these effects anything.
Each time when I assign say an action to my custom action which is base on an installed .NET installer class DLL, and uses [FOLDER_PATH] I get the 1001 error documented by Microsoft above.
Luckily I saw someone had a similar issue, the solution is to simply add a space after [FOLDER_PATH] when assigning this to a custom action parameter of the Edit .NET Custom Action dialog.
Can someone please tell me why I have to do this? It seems nuts. And if it is obscure formatting issue, why when I explicitly changed the raw value of the registry key to path or file in the search GUI of AI it doesn't correct this formatting issue?
As an aside, I originally started the AI V10 project in VS2012 and added it to my solution. I then edited everything in the AI GUI and also built it form there. One thing I noted in VS2012 is I do initially get the error
The target "GetFrameworkPaths" does not exist in the project.
Which I did not get in an earlier version of AI. This message does go away when I build the solution in VS 2012
cheers
FOLLOW US
Get the latest news in Application Packaging