Ok So I think I have where to declare the .net assembly somewhat figured out. But I have some more questions. What my main task is to bring a property, that points to a installed folder path. send that to the .net .dll, and have the path adjusted, and use the new value in my desktop shortcuts. I had this somewhat working using a vb script, and a PropertySource(USER_DIR) associated with a formatted text(the folder). Putting the PropertySource in the Cost Finalize will substiture the PropertySource name with the path in the shortcuts as I wanted. Just the script did not work on all test platforms.
On the .net path, Ive removed the property source, and in .net assembly setup, pass in the User defined Property [USERDIR] as an Action Argument. it is mapped to the folder [MYFOLDER]. Ive implemented the install method(from the Installer class),passed in the argument and placed my call here to edit the path. But during install I have two problems, one is if dll action is in cost finalize, I get a error popup telling me the error dialog is bit is set. just like
http://www.advancedinstaller.com/forums ... =2&t=10722
If I follow the above instructions I can get past the error, though the value of the [USERDIR] does not get resolved to a path, rather is the literal "[MYFOLDER]";
My questions would be, what is the appropriate installation sequence location to accomplish what I want. Do I need the ProperySource to accomplish this?
FOLLOW US
Get the latest news in Application Packaging