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
- :
- Re: How to get value on custom DialogBox to modify XML file!?
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
‎Mar 30, 2010
02:50 AM
How to get value on custom DialogBox to modify XML file!?
Hi all, I'm a new mem of Installshield, and now I'm using InstallShield Pro 2009.
I use it to create an Web install project. In this project, I create a custom DialogBox to get config value for WebApp (Ex: appname, Database type, username, pass......) from end user, but I don't known how to get values to modify webconfig of webapp.
Please help me to handle my problem.
Thanks so much for any help!!!!
hongnguyenx.
I use it to create an Web install project. In this project, I create a custom DialogBox to get config value for WebApp (Ex: appname, Database type, username, pass......) from end user, but I don't known how to get values to modify webconfig of webapp.
Please help me to handle my problem.
Thanks so much for any help!!!!
hongnguyenx.
(12) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
08:09 AM
It sounds like maybe you'd want to try the procedure in the following help topic (but with one small change):
Using Windows Installer Properties to Dynamically Modify XML Files
You would basically replace step 1 in that help topic with step 6 of the following help topic:
Using Windows Installer Properties to Dynamically Modify IIS Settings
I hope that helps.
Using Windows Installer Properties to Dynamically Modify XML Files
You would basically replace step 1 in that help topic with step 6 of the following help topic:
Using Windows Installer Properties to Dynamically Modify IIS Settings
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
05:13 AM
Thnks so much for your help.
But now, I want to create IIS virtual directory with AppName value get from custom dialogbox. How to do this, You can help me !!!?
Once again, thnks so much !!!
hongnguyenx
But now, I want to create IIS virtual directory with AppName value get from custom dialogbox. How to do this, You can help me !!!?
Once again, thnks so much !!!
hongnguyenx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
01:48 PM
In the Internet Information Services view, you should be able to enter something like [MYPROPERTY] for the Application Name setting of your virtual directory. Then, in the Dialogs view, create the custom dialog and follow step 6 in the instructions (Using Windows Installer Properties to Dynamically Modify IIS Settings).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
08:54 PM
It true with set Application Name in Application settings or User Name in Directory Security tab, but I want do this with Virtual directory name, it mean I want to create IIS Virtual directory have name same as value of App Name.
Install Shield can do that !?
Thnks so much !!!
hongnguyenx
Install Shield can do that !?
Thnks so much !!!
hongnguyenx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
07:41 AM
Did you try to use the same property in the IIS view for the virtual directory name and the application name? That is, did you try using something like [MYPROPERTY] in both those name settings?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
01:38 PM
I try to use it, but it not work !!! You can give a example project for my problem.
Thanks so much,
hongnguyenx
Thanks so much,
hongnguyenx
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
04:39 PM
Can you provide more details on what happens/why it doesn't work?
Can you post screen shots that show what you have entered in the IIS view and the Dialogs view? Maybe that would help pinpoint the problem.
Can you post screen shots that show what you have entered in the IIS view and the Dialogs view? Maybe that would help pinpoint the problem.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
10:37 PM
There is some screen shot of my proj:
property
property
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2010
01:47 AM
Yes!
Installshield can do that.
Installshield can do that.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2010
03:12 AM
reachyouvenkat7 wrote:
Yes!
Installshield can do that.
How to do that !!!
I fill property same with image that I attach, but it not work 😞 What wrong ???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2010
05:29 AM
Hi DebbieL,
Can you help me for my problem, I posted screen shot, You can see !!!
Can you help me for my problem, I posted screen shot, You can see !!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2010
11:24 AM
Sorry, nothing jumps out at me. Have you tried creating a verbose log of the installation? That might help identify the issue.
(To log it, try using Setup.exe /v"/l*v c:\test.log" at the command line.)
(To log it, try using Setup.exe /v"/l*v c:\test.log" at the command line.)