This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Unable to run setup.exe from a network location
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2011
12:46 AM
Install Script failes to call .NET method from Network share
Hi,
I have an issue with Install Shield 2011 built setup packages, I have used .NET assembly along with ISM project, I am calling methods under button click events of custom dialogs designed in the project.
When I build setup package and execute from the local disk of the machine, it is able to call .NET method from Install Script associated with button click event of Custom Dialog in the ISM project. However it fails to execute the same scenario when I place the setup package on network share and execute from the same location on some other machine.
please put some comments or suggestions on this, how to resolve this issue.
since this is important to deliver along with our product in March 2011.
I have an issue with Install Shield 2011 built setup packages, I have used .NET assembly along with ISM project, I am calling methods under button click events of custom dialogs designed in the project.
When I build setup package and execute from the local disk of the machine, it is able to call .NET method from Install Script associated with button click event of Custom Dialog in the ISM project. However it fails to execute the same scenario when I place the setup package on network share and execute from the same location on some other machine.
please put some comments or suggestions on this, how to resolve this issue.
since this is important to deliver along with our product in March 2011.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2011
04:52 PM
It's difficult to say without particulars; does everything besides the custom code work? If so, are there return values or exceptions you can check in the code? For a made-up example, if the code writes a temporary file near the installer, perhaps the account running the installer doesn't have privileges on the network drive?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2011
09:10 PM
Is the .NET assembly physically on the network share with the MSI? ( Uncompressed in the 'Disk1' folder? )
If so, yeah, that won't work. I suggest googling .NET CASPOL.
If so, yeah, that won't work. I suggest googling .NET CASPOL.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 24, 2011
12:33 AM
This is in continuation to the problem definition provided by Shyam_eg. Shyam and I work for the same team and hence I am providing more details regarding the problem.
1. We have a Basic MSI project coded in Install Shield 2011.
2. The project includes several Install Script Custom Actions which are invoked on the click of buttons on the dialogs. The custom action invokes .net functions contained in a .Net dll which is added into the Support Files and folders section.
One of the custom action does the below
1. Updates the property table using MsiSetProperty Method.
2. Updates the features table (this is to hide and show features dynamically based on user input).
3. Has a business logic that returns either of the interger values of -1, 0, 1,2,3
When we compile the project and copy the setup.exe and all its related files and folders into the installation machine and click on setup.exe on the installation machine directly. The installation completes successfully.
Whereas if we copy the setup.exe and all its related files and folders into a shared network location and click on the setup.exe on the network share from the installation machine, the installtion fails at the custom action that updates the property table and the Features Table.
This leads us to believe that the installation fails while trying to update the MSI Database.
Note: The installer is placed in a shared folder on the network drive
The system Task manager indicates that the setup.exe runs under the local administrators account.
Please help us in tracking down the issue.
Thanks
1. We have a Basic MSI project coded in Install Shield 2011.
2. The project includes several Install Script Custom Actions which are invoked on the click of buttons on the dialogs. The custom action invokes .net functions contained in a .Net dll which is added into the Support Files and folders section.
One of the custom action does the below
1. Updates the property table using MsiSetProperty Method.
2. Updates the features table (this is to hide and show features dynamically based on user input).
3. Has a business logic that returns either of the interger values of -1, 0, 1,2,3
When we compile the project and copy the setup.exe and all its related files and folders into the installation machine and click on setup.exe on the installation machine directly. The installation completes successfully.
Whereas if we copy the setup.exe and all its related files and folders into a shared network location and click on the setup.exe on the network share from the installation machine, the installtion fails at the custom action that updates the property table and the Features Table.
This leads us to believe that the installation fails while trying to update the MSI Database.
Note: The installer is placed in a shared folder on the network drive
The system Task manager indicates that the setup.exe runs under the local administrators account.
Please help us in tracking down the issue.
Thanks
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)