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 do i add an installation of inf 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
‎Oct 26, 2010
09:38 AM
how do i add an installation of inf file
1. I need installshield to install a inf file (a shell extension which allows running PowerShell scripts under admin privileges from the context menu).
2. I also need to run a ps1 file as administrator - "Run as administrator"
how do i do that?
Ridley.
2. I also need to run a ps1 file as administrator - "Run as administrator"
how do i do that?
Ridley.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2010
11:20 AM
Hi Ridley,
There's certainly ways do you what you're looking for. But how you accomplish this will depend on some requirements:
1. Where does that *.inf file need to go, and what information does it need to contain? If the information is fairly static, very likely you can just add the file to the Files and Folders view of your project, or the INI Files view (since *.inf files are formatted like *.ini files).
Also, if you're installing this *.inf file manually, do you normally right-click and select 'Install'?
2. Does the *.ps1 file need to be run as Administrator from a shortcut after the installation completes? Or as a part of the installation?
There's certainly ways do you what you're looking for. But how you accomplish this will depend on some requirements:
1. Where does that *.inf file need to go, and what information does it need to contain? If the information is fairly static, very likely you can just add the file to the Files and Folders view of your project, or the INI Files view (since *.inf files are formatted like *.ini files).
Also, if you're installing this *.inf file manually, do you normally right-click and select 'Install'?
2. Does the *.ps1 file need to be run as Administrator from a shortcut after the installation completes? Or as a part of the installation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2010
02:44 AM
1. i need to install the inf file - today (pre installshield) i right click it and select install.
2. today (pre installshield) i right click the ps1 file and choose "run as administrator" - i want to automate it using installshield.
thanks.
2. today (pre installshield) i right click the ps1 file and choose "run as administrator" - i want to automate it using installshield.
thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 31, 2010
04:08 AM
1. i need to install the inf file - today (pre installshield) i right click it and select install.
2. today (pre installshield) i right click the ps1 file and choose "run as administrator" - i want to automate it using installshield.
thanks.
2. today (pre installshield) i right click the ps1 file and choose "run as administrator" - i want to automate it using installshield.
thanks.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)