install creator needed

Chat about anything not covered in these forums, but keep it civil!

Post » Sun Dec 29, 2013 2:27 am

Im looking for install creator but he should have option to make a autostart in windows ( game must run automaticaly when you log in desktop)delgado2013-12-29 12:44:27
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Sun Dec 29, 2013 5:00 am

Download Inno Setup http://www.innosetup.com/

Use the 'Script Wizard' to generate your script,
at the end when it asks you if you would like to compile it now choose no.

For starting on login ;
http://stackoverflow.com/questions/7490249/inno-setup-how-can-i-make-my-program-run-when-a-user-logs-in-to-windows
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Sun Dec 29, 2013 10:54 am

@Noncentz705 Your second link teach how do autostart manually, right?
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Sun Dec 29, 2013 1:25 pm

Yep but I would suggest giving users a choice on whether or not to run the app on startup. What I've done here is opened components.iss in the examples folder and modified it slightly; I've highlighted any changes... hope it helps.



[Setup]
PrivilegesRequired=admin
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
DefaultGroupName=My Program
UninstallDisplayIcon={app}\MyProg.exe
OutputDir=userdocs:Inno Setup Examples Output

[Types]
Name: "full"; Description: "Full installation"
Name: "compact"; Description: "Compact installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom

[Components]
Name: "program"; Description: "Program Files"; Types: full compact custom; Flags: fixed
Name: "autorun"; Description: "Help File"; Types: full
Name: "readme"; Description: "Readme File"; Types: full
Name: "readme\en"; Description: "English"; Flags: exclusive
Name: "readme\de"; Description: "German"; Flags: exclusive

[Files]
Source: "MyProg.exe"; DestDir: "{app}"; Components: program
Source: "MyProg.chm"; DestDir: "{app}"; Components: program
Source: "Readme.txt"; DestDir: "{app}"; Components: readme\en; Flags: isreadme
Source: "Readme-German.txt"; DestName: "Liesmich.txt"; DestDir: "{app}"; Components: readme\de; Flags: isreadme

[Icons]
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"

[Registry]
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "MyProg"; ValueData: """{app}\MyProg.exe"""; Components: autorun; Flags: uninsdeletevalue

Noncentz7052013-12-29 13:33:40
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Sun Dec 29, 2013 2:54 pm

@Noncentz705 this app must startup :) i try now this creator hope it hepls :)
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Sun Dec 29, 2013 4:02 pm

I believe Innosetup is what Scirra use to package Construct2... it's a great free tool for simple packaging and should meet your requirements.

My company provides application packaging services primarily to large corporates using the Flexera toolsets but if anyone here needs a hand or anything whipped up were happy to help :)

B
9
S
3
G
1
Posts: 112
Reputation: 1,827

Post » Mon Dec 30, 2013 1:06 am

@liaeb hi, do you know about videotutorials how create install package with autostart ?
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Mon Dec 30, 2013 10:00 am

As mentioned before, it's not a good idea to force the autostart of a game.

If I were to play a game that would do that, I guess I would uninstall it the minute I notice it/wouldn't care to install it in the first place if it is notified (as it should be).

Also, google's search function is your friend.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,290
Reputation: 70,138

Post » Mon Dec 30, 2013 10:26 am

I wouldn't argue the requirement without knowing it :) for example this could be for installation on a kiosk system.

In regards to your auto start question, to a degree noncentz705 has already answered it although my only consideration would be in that the auto start registry information is for HKCU (current user) of which depending upon the install context may not be the intended user hive. HKLM will ensure it's initiated for all users of the system but again you'll need to consider how the machine is actually used.

Why exactly is it you want this start on login option?!
B
9
S
3
G
1
Posts: 112
Reputation: 1,827


Return to Open Topic

Who is online

Users browsing this forum: No registered users and 4 guests