vanloggins
Posts: 2
Joined: Fri May 01, 2015 2:40 pm

create a editable RDP file on user desktop

I'm trying to create a installer that will put a mostly preconfigured RDP file on the desktop of the user who is running the installer. It needs have the permissions set so the user can then right click the RDP file, select edit then enter their server name and their username and then click save.

Can this be done using Advanced Installer, and can you walk me thru the necessary steps to do this?

I tried just using the built in desktop option for a file location and it created a file on the public desktop that doesn't have the necessary permissions for the user to be able to edit the file and save their username and server name.

We use a terminal server gateway but have multiple servers that users connect to thru the RD gateway, so it isn't feasable to create a separate installer for every server.

If this isn't the best product to do this, What would work best for our use? I just want to make life for our IT department easier, and to make things easier for our users to be able to just run a installer that drops this file on their desktop from our helpdesk that has a guide to walk them through the last steps to set their servername, username and then click save so the settings are saved and they don't have to enter this info each time they need to access their server.

Thank you in advance for any guidance you can provide to help us achieve this goal.
vanloggins
Posts: 2
Joined: Fri May 01, 2015 2:40 pm

Re: create a editable RDP file on user desktop

After playing around with the program I figured out what I needed to do. I had to create a new property based folder called UserDesktop and I set the value to "C:\Documents and Settings\%USERNAME%\Desktop" and set the installer to be a per user install.

This works and creates the mostly configured RDP file on the desktop of the user account that runs the installer.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: create a editable RDP file on user desktop

Hello and welcome to Advanced Installer,
I had to create a new property based folder called UserDesktop
Indeed, this is the correct approach.
I set the value to "C:\Documents and Settings\%USERNAME%\Desktop"
I think this is valid for XP machines. On Vista and above the path will be something like that:

Code: Select all

C:\Users\<username>\Desktop
In order to run a custom action based on the Windows version, you can follow the steps from the How do I install resources based on the Operating System version? article.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”